15.11.2014, 19:44
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);
}