OnPlayerSpawn don't call.
#1

I made this code for when spawn give him this weappons and send one message, didn't do anything.

pawn Код:
public OnPlayerConnect(playerid)
{
SetSpawnInfo(playerid, 0, 281, 1130.2911,-1456.9148,15.7969, 0, 0, 0, 0, 0, 0, 0 );
SendClientMessage(playerid, -1, "Bienvenido a Los Angeles RolePlay");
}

public OnPlayerRequestClass(playerid,classid)
{
SpawnPlayer(playerid);
}

public OnPlayerSpawn(playerid)
{
SendClientMessage(playerid, -1, "ЎHAS SPAWNEADO AL CENTRO COMERCIAL!");
GivePlayerWeapon(playerid, 35, 1000);
GivePlayerWeapon(playerid, 43, 1000);
SetPlayerHealth(playerid, 1);
}
Reply


Messages In This Thread
OnPlayerSpawn don't call. - by xHanks - 15.11.2014, 19:44
Re: OnPlayerSpawn don't call. - by Kwarde - 15.11.2014, 19:47
Respuesta: OnPlayerSpawn don't call. - by xHanks - 15.11.2014, 19:48
Re: OnPlayerSpawn don't call. - by Kwarde - 15.11.2014, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)