1
Servers / Re: PsyShell's Project ^Vice Revolution Unleashed^
« on: June 11, 2013, 11:05:33 am »
Updated!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
See, Put it first:look what the?
[pawn]new IsCop[MAX_PLAYERS];[/pawn]
Now in the OnPlayerSpawn event:
[pawn]public OnPlayerSpawn(playerid,classid)
{
new IsCop[MAX_PLAYERS];
IsCop[playerid]=1;
new gPlayers[MAX_PLAYERS][MAX_PLAYER_NAME+1];
new string[256];
GetPlayerName(playerid,gPlayers[playerid],MAX_PLAYER_NAME);
format(string,sizeof(string),"%s has spawned as cop.",gPlayers[playerid]);
SendClientMessageToAll(COLOR_YELLOW,);
return 1;
}[/pawn]