Resavanje Errora

Započeo Daksy
27. Dec. 2017. Zaključano
841
pregleda
13
postova
Daksy
2
Street Runner
27. Dec. 2017.
Skripta koju koristim: od 0
Detaljan opis problema: baca mi error 010: invalid function or declaration
Dio skripte:
CMD:teleport(playerid,params[])
{
ShowPlayerDialog(playerid,DIALOG_TELEPORT,DIALOG_STYLE_LIST,"Teleport","Angel Pine\nClucking Bell\nGun Shop\nHangar\nPolicijska Stanica Angel Pine","Odaberi","Odustani");
return 1;
}

Baca error na CMD:teleport(playerid,params[]) i na return 1;
Includeovi koje imam:
#include
#include
#include
#include

Neke slike/video za lakse dobivanje pomoci(neobavezno):///
ophion
5
OG Legend
27. Dec. 2017.
Imas samo jednu komandu ili?
Daksy
2
Street Runner
27. Dec. 2017.
Samo jednu komandu kao CMD☹️samo teleport taj)
A vise komadi na public OnPlayerCommandText
Npr.:
if (strcmp("/heal", cmdtext, true, 10) == 0)
{
        SetPlayerHealth(playerid,100);
        SendClientMessage(playerid,CRVENA,":Healovao si se!");
}
ophion
5
OG Legend
27. Dec. 2017.
Provjeri fajl zcmd.inc, mozda ti je prazan ili nesto, ili ga probaj staviti odma ispod a_samp
Daksy
2
Street Runner
27. Dec. 2017.
Pokusao sam da stavim ispod a_samp, nece.

Kada udjem u zcmd preko notepad++ pise ovo : https://pastebin.com/Pif9QZjv
ophion
5
OG Legend
27. Dec. 2017.
probaj da kreiras novi fajl .pwn i includeas samo a_samp i zcmd i kreiras cmd i kompajlas
Daksy
2
Street Runner
27. Dec. 2017.
Hoce da compiluje kada je samo a_samp i zcmd u novom .pwn fajlu, al kako sad ja to da compilujem u mom modu?
Belic
4
Made Man
28. Dec. 2017.
Kreiras novi fajl .pwn i includes samo a_samp i zcmd i kreiras cmd i compilas
Ukisha
3
Hustler
28. Dec. 2017.
Slusaj probaj oko to ShowPlayeraDialoga de si napisao DIALOG_ dodaj broj koj si gore definineo imao sam problem veruj mi !
ophion
5
OG Legend
28. Dec. 2017.
Ukisha wrote on December 28, 2017, 8:14 pm:
Slusaj probaj oko to ShowPlayeraDialoga de si napisao DIALOG_ dodaj broj koj si gore definineo imao sam problem veruj mi !
Jel se ti drogiras hahahaahha
SejnurHD
5
OG Legend
28. Dec. 2017.
Ukisha wrote on December 28, 2017, 8:14 pm:
Slusaj probaj oko to ShowPlayeraDialoga de si napisao DIALOG_ dodaj broj koj si gore definineo imao sam problem veruj mi !

Zar ne vidis da mu je vec definisano DIALOG_TELEPORT?
Savana
4
Enforcer
29. Dec. 2017.
Daksy wrote on December 27, 2017, 6:30 pm:
Skripta koju koristim: od 0
Detaljan opis problema: baca mi error 010: invalid function or declaration
Dio skripte:
CMD:teleport(playerid,params[])
{
ShowPlayerDialog(playerid,DIALOG_TELEPORT,DIALOG_STYLE_LIST,"Teleport","Angel Pine\nClucking Bell\nGun Shop\nHangar\nPolicijska Stanica Angel Pine","Odaberi","Odustani");
return 1;
}

Baca error na CMD:teleport(playerid,params[]) i na return 1;
Includeovi koje imam:
#include
#include
#include
#include

Neke slike/video za lakse dobivanje pomoci(neobavezno):///


fali ti jedan dio..

evo.


CMD:teleport(playerid,params[]){
ShowPlayerDialog(playerid,DIALOG_TELEPORT, DIALOG_STYLE_LIST, "Teleport", "Angel Pine\nClucking Bell\nGun Shop\nHangar\nPolicijska Stanica", "Odaberi", "Odustani");
return 1;
}
ophion
5
OG Legend
29. Dec. 2017.
Savana wrote on December 29, 2017, 10:15 am:
fali ti jedan dio..

evo.


CMD:teleport(playerid,params[]){
ShowPlayerDialog(playerid,DIALOG_TELEPORT, DIALOG_STYLE_LIST, "Teleport", "Angel Pine\nClucking Bell\nGun Shop\nHangar\nPolicijska Stanica", "Odaberi", "Odustani");
return 1;
}
To nema veze, to su 4 rijeci u biti

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha