13.01.2013, 08:01
OK
This is my first class :
And the second one which I want to spawn in different location :
And on spawn code I have that :
On spawn code I notice there is same location as the first class so maybe that cause the problem with location
This is my first class :
Quote:
AddPlayerClass(280, 1310.1509, -1367.6149 ,13.5383 ,179.3588, 0, 0, 0, 0, 0, 0); |
Quote:
AddPlayerClass(0, 2530.2471, -1698.7323 ,13.4976 ,240.3018, 16, 5, 28, 140, 23, 30); |
Quote:
public OnPlayerSpawn(playerid) { SetPlayerPos (playerid, 1310.1509,-1367.6149,13.5383); SetPlayerHealth (playerid, 100); SetPlayerArmour (playerid, 100); new PlayerName[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); format(string, sizeof(string), "%s has spawned.", PlayerName); SendClientMessageToAll(0xFFFFFFFF, string); return 1; } |