dcmd_stunt(playerid, params[])
{
new
igrac;
if (sscanf(params, "u", igrac)) SendClientMessage(playerid, 0xFF0000AA, "Koristi: /stunt [playerid/partname]");
else if (igrac == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000AA, "Igrac nije pronadjen!");
else
{
EnableStuntBonusForPlayer(igrac,1);
SendClientMessage(igrac, 0x00FF00AA, "Mozete stuntati!");
}
return 1;
}Errori
D:\Dokumenti!\Owner\My Documents\sa-mp\gamemodes\gf.pwn(8135) : error 017: undefined symbol "dcmd_stunt"
D:\Dokumenti!\Owner\My Documents\sa-mp\gamemodes\gf.pwn(8140) : warning 225: unreachable code
D:\Dokumenti!\Owner\My Documents\sa-mp\gamemodes\gf.pwn(21600) : error 017: undefined symbol "dcmd_stunt"
D:\Dokumenti!\Owner\My Documents\sa-mp\gamemodes\gf.pwn(21604) : error 017: undefined symbol "params"
D:\Dokumenti!\Owner\My Documents\sa-mp\gamemodes\gf.pwn(21609) : warning 217: loose indentation
D:\Dokumenti!\Owner\My Documents\sa-mp\gamemodes\gf.pwn(21615) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.