Problem(error/warning):E vako ubacio sam goto sys i sad mi iskacu ovi errori
C:\Users\Mirza\Desktop\Unicate Gaming x1.0.0\gamemodes\UGRPG.pwn(29753) : error 017: undefined symbol "pPrihvatioZahtev"
C:\Users\Mirza\Desktop\Unicate Gaming x1.0.0\gamemodes\UGRPG.pwn(29799) : error 017: undefined symbol "pPrihvatioZahtev"
C:\Users\Mirza\Desktop\Unicate Gaming x1.0.0\gamemodes\UGRPG.pwn(29804) : error 017: undefined symbol "pPrihvatioZahtev"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Dio skripte: //
YCMD:goto(playerid, params[],help)
{
if(PlayerInfo == 1) return SCM(playerid,-1,"Vas Server | "CRVENA"Radis posao ne mozes da koristis ovu komandu!");
new string, giveplayerid;
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if( !sscanf(params, "u", giveplayerid ) ) {
if( giveplayerid == INVALID_PLAYER_ID ) return SCM(playerid, -1,""CRVENA"Igrac nije povezan!");
SCM(playerid, -1,""SRWBOJA"[Vas Server]"BELA"Poslali ste zahtjev za teleport, pricekajte malo!");
format( string, sizeof( string ), ""SRWBOJA"Igrac "BELA"%s vam je poslao zahtev za /goto !:", GetName( playerid ) );
SPD( giveplayerid, 2115, DSB, "Zahtev za Goto", string, "Prihvati", "Odbij" );
SetTimerEx("ZahtevZaGoto", 4200, false, "i", playerid);
}
else SCM(playerid, -1,""ZUTA"PORT Pomoc | "BELA"/goto [ID/Nick]");
}
else SCM(playerid, -1,""CRVENA" "BELA"Samo Admini - GM i V.I.P!");
return 1;
}
/////timer
forward ZahtevZaGoto(playerid);
public ZahtevZaGoto(playerid)
{
new Float:plx,Float:ply,Float:plz;
new string, giveplayerid, giveplayer;
if(PlayerInfo == 1)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerPos(giveplayerid, plx, ply, plz);
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, plx, ply+4, plz);
}
else
{
SetPlayerPos(playerid,plx,ply+2, plz);
}
SetPlayerInterior(playerid, GetPlayerInterior(giveplayerid));
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(giveplayerid));
format(string, sizeof(string),""ZUTA" "BELA"Portao si se do igraca %s.",GetName(giveplayerid));
SCM(playerid, -1, string);
new arank;
if(PlayerInfo == 1) { arank = "Admin Level 1"; }
else if(PlayerInfo == 2) { arank = "Admin Level 2"; }
else if(PlayerInfo == 3) { arank = "Admin Level 3"; }
else if(PlayerInfo == 4) { arank = "Admin Level 4"; }
else if(PlayerInfo == 5) { arank = "Admin Level 5 (Head-Admin)"; }
else if(PlayerInfo == 1) { arank = "Vlasnik"; }
else if(PlayerInfo == 6) { arank = "Vlasnik"; }
else if(PlayerInfo == 1) { arank = "GameMaster Level 1"; }
else if(PlayerInfo == 2) { arank = "GameMaster Level 2"; }
else if(PlayerInfo == 3) { arank = "GameMaster Level 3"; }
else if(PlayerInfo == 1) { arank = "Spec Team"; }
else if(PlayerInfo == 1) { arank = "Vip Level 1"; }
else if(PlayerInfo == 2) { arank = "Vip Level 2"; }
else if(PlayerInfo == 3) { arank = "Vip Level 3"; }
else if(PlayerInfo == 4) { arank = "Vip Level 4"; }
else if(PlayerInfo == 5) { arank = "Premium"; }
format(string, sizeof(string),""ZUTA" "BELA"%s %s se portao do vas.",arank, GetName( playerid ) );
SCM(giveplayerid, -1, string);
}
return 1;
}
///fdialog
fDialog(2115)
{
if( response )
{
SCM(playerid, -1, ""SRWBOJA"[HG:RPG] "BELA"Prihvatili ste zahtjev za goto!");
PlayerInfo = 1;
}
else
{
SCM(playerid, -1, ""SRWBOJA"[HG:RPG] "BELA"Odbili ste zahtev za goto!");
PlayerInfo = 0;
}
}
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem):
