Detaljan opis problema: UBacija sam GPS Dialog prije mi je bija /gps oni obnici
Dio skripte:
Skriptu koju sam ubacija:
if(dialogid == GPS)
{
if(!response) return 0;
if(listitem == 0)
{
SetPlayerCheckpoint(playerid,1481.0273,-1770.5774,18.7958,3.0);
SendClientMessage(playerid, zuta, "GPS: Namjestili ste vašu GPS lokaciju na Vijecnicu!");
}
else if(listitem == 1) //provjerava dali je igrac upisao komandu za gps do policije
{
SetPlayerCheckpoint(playerid,1462.0543,-1011.3368,26.8438,3.0);
SendClientMessage(playerid, zuta, "GPS: Namjestili ste vašu GPS lokaciju na Banku!");
}
else if(listitem == 2) //provjerava dali je igrac upisao komandu za gps do policije
{
SetPlayerCheckpoint(playerid,1172.8307,-1323.3011,15.4001,3.0);
SendClientMessage(playerid, zuta, "GPS: Namjestili ste vašu GPS lokaciju na Bolnicu!");
}
else if(listitem == 3) //provjerava dali je igrac upisao komandu za gps do policije
{
SetPlayerCheckpoint(playerid,2154.4404,-1181.2894,23.3944,3.0);
SendClientMessage(playerid, zuta, "GPS: Namjestili ste vašu GPS lokaciju na Autosalon!");
}
else if(listitem == 4) //provjerava dali je igrac upisao komandu za gps do policije
{
SetPlayerCheckpoint(playerid,1216.4042,-915.5415,42.9203,3.0);
SendClientMessage(playerid, zuta, "GPS: Namjestili ste vašu GPS lokaciju na Burg!");
}
else if(listitem == 5) //provjerava dali je igrac upisao komandu za gps do policije
{
SetPlayerCheckpoint(playerid,1553.7538,-1675.4840,16.1953,3.0); //(Pozicija:x,Pozicija:y,Pozicija:z,Velicina markera)
SendClientMessage(playerid, zuta, "GPS: Namjestili ste vašu GPS lokaciju na Policiju!");
}
}
if (strcmp(cmdtext, "/gps", true) == 0) //provjerava dali je igrac upisao odredenu komandu
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, GPS, DIALOG_STYLE_LIST, "Lista Lokacija","Burg1\nBurg2\nBanka\nAutoSkola\nAmmu-Nation\nOpstina\nHitna Pomoc\nPolicijska Stanica\nBanka 2 ", "Ok", "Izlaz");
}
else SendClientMessage(playerid, COLOR_GRAD1, " Niste u vozilu!");
return 1;
}ERRORI:
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4008) : error 017: undefined symbol "GivePlayerCash"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4041) : error 017: undefined symbol "GivePlayerCash"
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4071) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4072) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4096) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4309) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4321) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4325) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4337) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4341) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4345) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4349) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4353) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4357) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4361) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4365) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4369) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4373) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4385) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4389) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4393) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4397) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4401) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4413) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4417) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Mario\Desktop\LecevicA Server-Smap\gamemodes\CLRP.pwn(4421) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.Kako bi sad ovo obasnija? Vako kad sam ima obnic GPS koji sam dobija CLRP MOD radilo je normalono kad sam ubacija ovi s dialog ne pokaziva errore na linijiji di je GPS nego sasvim trece pokaziva da nije u u redu s ostalim linijama to su ti errori!
Neke slike/video za lakse dobivanje pomoci(neobavezno):
