ZCMD Command, 1 warning :P look plz - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ZCMD Command, 1 warning :P look plz (
/showthread.php?tid=251380)
ZCMD Command, 1 warning :P look plz -
anantanni - 26.04.2011
Код:
D:\VERY IMPORTANT STUFF\SA-MP Scripts\EL-RP\gamemodes\el-rp.pwn(50185) : warning 203: symbol is never used: "command"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 11320 bytes
Code size: 1961800 bytes
Data size: 27013732 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:29003236 bytes
1 Warning.
THE ONLY ZCMD COMMAND IN THE SCRIPT :-
pawn Код:
command(secure, playerid[])
{
if(GetPlayerPCash(i) <= 80)
{
GameTextForPlayer(playerid, "~r~You don't got the cash!~n~ ~w~ Try doing some job!", 5000, 3);
return 1;
}
else if(PlayerInfo[playerid][pLSRegistered] == 1
{
GameTextForPlayer(playerid, "~r~You are already registered!", 5000, 3);
return 1;
}
else
{
GameTextForPlayer(playerid, "~w~Congrats!~n~You have just registered as an~n~~r~LS Citizen", 5000, 3);
GivePlayerPCash(playerid,-80);
PlayerInfo[playerid][pLSRegistered] = 1;
return 1;
}
return 1;
}
Re: ZCMD Command, 1 warning :P look plz -
Raimis_R - 26.04.2011
pawn Код:
command(secure, playerid,params[])
Re: ZCMD Command, 1 warning :P look plz -
anantanni - 26.04.2011
thx :P