01.01.2010, 00:38
well ok here my code
i want for make it so that ids 285 and 266 can open this gate but i cant seem to figure it out
Cheers,
Nameless
pawn Код:
if(strcmp(cmdtext,"/closecg", true)==0) {
if(GetPlayerSkin(playerid)==285)
{
SendClientMessage(playerid, 0x222222BB , "Closing LS Cops And Prison Base");
MoveStreamObject(copgate, 836.3671875, -2072.7314453125, 12.89999961853, 5);
}
else
{
SendClientMessage(playerid, red, "Sorry you need to be a cop to Open or Close This Gate");
}
return 1;
}
Cheers,
Nameless