08.06.2012, 10:32
(
Last edited by Stereotype; 08/06/2012 at 11:08 AM.
)
How to make
and if player enter /stopcar
to print in radius of 30
Police Officer says : Stop you'r car and show you'r licences (/sl)
EDIT Done
Code:
if (gTeam[giveplayerid] != 2)
to print in radius of 30
Police Officer says : Stop you'r car and show you'r licences (/sl)
EDIT Done
Code:
if(strcmp("/stopcar", cmdtext, true, 10) == 0) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { new string[256]; new sendername[MAX_PLAYER_NAME]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "*Policajac %s vam naredjuje da zaustavite auto.", sendername); ProxDetector(45.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, WHITE, "("COL_RED"Greska{FFFFFF}!) Niste clan Drzavnih Agencija!"); } return 1; }