Player doesnt get weapons
#1

Код:
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,  0, 0, 0, 0, 0, 0);
	    format(string,sizeof(string),"The assassin has joined with the id: %d",playerid);
	    print(string);
	    PlayerVar[playerid][isAssassin] = 1;
	    SpawnPlayer(playerid);
	    GivePlayerWeapon(playerid, 34, 99999999);
	    GivePlayerWeapon(playerid, 4, 1);
	    GivePlayerWeapon(playerid, 44, 1);
	    SetPlayerColor(playerid, 0xFFF0000);
	    TextDrawColor(gTextDraw, 0xFF01111);
		TextDrawSetString(gTextDraw, "You are the assassin, type /help for help.");
		TextDrawShowForPlayer(playerid, gTextDraw);
		SetTimer("destroy", 8000, false);
	}
Why dont i get my guns?
Reply


Messages In This Thread
Player doesnt get weapons - by NicholasA - 28.05.2013, 14:11
Re: Player doesnt get weapons - by dubyabeast - 28.05.2013, 14:15
Re: Player doesnt get weapons - by NicholasA - 28.05.2013, 14:26
Re: Player doesnt get weapons - by iGetty - 28.05.2013, 14:28
Re: Player doesnt get weapons - by SuperViper - 28.05.2013, 14:28
Re: Player doesnt get weapons - by NicholasA - 28.05.2013, 14:31

Forum Jump:


Users browsing this thread: 2 Guest(s)