#6

Quote:
Originally Posted by $$inSane
Посмотреть сообщение
its the code..
Код:
if (strcmp("/opengates", cmdtext, true, 10) == 0)
{
if(GetPlayerSkin(playerid) != 285)
{
SendClientMessage(playerid, 0xAFAFAFAA,"Opening Gates.");
MoveObject(gate, 2497.50, 2785.44, 11.27,3);
return 1;
}
else
{
SendClientMessage(playerid, 0xAFAFAFAA,"You are not allowed to move the gates");
}

return 1;
}
If you see that 2 guys helped him,why are you posting?
With your code,will open the gate if he is not with skin 285,
!= 285 Not equal.
Reply


Messages In This Thread
help - by Anup_Rao - 06.04.2012, 15:28
Re: help - by ReneG - 06.04.2012, 15:39
Re: help - by Anup_Rao - 06.04.2012, 15:51
Re: help - by ReneG - 06.04.2012, 16:00
Re: help - by $$inSane - 06.04.2012, 16:15
Re: help - by TzAkS. - 06.04.2012, 17:04
Re: help - by Anup_Rao - 07.04.2012, 03:17

Forum Jump:


Users browsing this thread: 2 Guest(s)