28.05.2013, 14:15
You can give the player 3 guns in SetSpawnInfo, should work:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(hasAssassin == false) // If there is no Assassin on the server he becomes it
{
new string[64];
SetSpawnInfo(playerid, 0, 285, 1525.8599,938.2324,10.8203, 1, 34, 99999, 4, 1, 44, 1);
format(string,sizeof(string),"The assassin has joined with the id: %d",playerid);
print(string);
PlayerVar[playerid][isAssassin] = 1;
SpawnPlayer(playerid);
SetPlayerColor(playerid, 0xFFF0000);
TextDrawColor(gTextDraw, 0xFF01111);
TextDrawSetString(gTextDraw, "You are the assassin, type /help for help.");
TextDrawShowForPlayer(playerid, gTextDraw);
SetTimer("destroy", 8000, false);
}