28.02.2010, 03:38
Hey guys. I have a script
But when you don't have this:
if(GetPlayerColor(playerid) == 0x2641FEAA || 0x33AA33AA)
It says, You are not part of the UA or LSP. How to make this?
Код:
{ case 0: { if(GetPlayerColor(playerid) == 0x2641FEAA || 0x33AA33AA) SendClientMessage(playerid,LIGHTGREEN, "/arrest (playerid)"); SendClientMessage(playerid,LIGHTGREEN, "/suspect (playerid)"); SendClientMessage(playerid,LIGHTGREEN, "/ticket (playerid) (amount)"); SendClientMessage(playerid,LIGHTGREEN, "/pdgateopen"); SendClientMessage(playerid,LIGHTGREEN, "/pdgateclose"); SendClientMessage(playerid,LIGHTGREEN, "/pdliftup"); SendClientMessage(playerid,LIGHTGREEN, "/pdliftdown"); SendClientMessage(playerid,LIGHTGREEN, "/r (text)"); } case 1: { if(GetPlayerColor(playerid) == 0x2641FEAA || 0x33AA33AA) SendClientMessage(playerid,LIGHTGREEN, "/uaopen"); SendClientMessage(playerid,LIGHTGREEN, "/uaclose"); SendClientMessage(playerid,LIGHTGREEN, "/r (text)"); SendClientMessage(playerid,LIGHTGREEN, "/suspect (playerid)"); }
if(GetPlayerColor(playerid) == 0x2641FEAA || 0x33AA33AA)
It says, You are not part of the UA or LSP. How to make this?