Whats wrong with it?
#1

Код:
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;
}
Reply
#2

Well what isn't working?
Reply
#3

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)
Reply
#4

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.
Reply
#5

Okay.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)