Whats wrong with it? - 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)
+--- Thread: Whats wrong with it? (
/showthread.php?tid=370012)
Whats wrong with it? -
[LSG]Lil_Familie - 18.08.2012
Код:
CMD:cuff(playerid,params[])
{
new pID;
if(GetPVarInt(playerid,"Faction")!=2)
{
SendClientMessage(playerid,COLOR_RED,"You are no LSPD member.");
}
else
{
SetPlayerSpecialAction(pID,SPECIAL_ACTION_CUFFED);
}
return 1;
}
Re: Whats wrong with it? -
playbox12 - 18.08.2012
Well what isn't working?
AW: Whats wrong with it? -
[LSG]Lil_Familie - 18.08.2012
i get these two errors
C:\Users\Patrick\Desktop\Samp scriptin\gamemodes\lsgrp.pwn(750) : error 029: invalid expression, assumed zero
C:\Users\Patrick\Desktop\Samp scriptin\gamemodes\lsgrp.pwn(750) : error 035: argument type mismatch (argument 2)
Re: Whats wrong with it? -
playbox12 - 18.08.2012
I can compile it without getting errors, you must be showing the wrong code or you need to update your includes by downloading them from sa-mp.com.
AW: Whats wrong with it? -
[LSG]Lil_Familie - 18.08.2012
Okay.