02.11.2015, 12:42
PHP код:
public OnPlayerSpawn(playerid);
{
if(Dead[playerid] == 1)
{
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 26, 990);
GivePlayerWeapon(playerid, 28, 990);
GivePlayerWeapon(playerid, 24, 990);
GivePlayerWeapon(playerid, 34, 990);
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, 1412.639892, -1.787510, 1000.924377);
SetPlayerVirtualWorld(playerid, 1);
Dead[playerid] = 0;
}
return 1;
}