04.01.2016, 19:40
On onplayerspawn i have some text like welcome blahblah so it is shown twice when player spawns ? what could it be? Maybe this ? :
Код:
public OnPlayerRequestClass(playerid, classid) { if( PlayerLogged[ playerid ] == true ) { SetSpawnInfo( playerid, 0, PlayerInfo[ playerid ][ pSkin ], 1732.4479, -1912.1218, 13.5623, 360.00, 0, 0, 0, 0, 0, 0 ); SpawnPlayer( playerid ); } else return false; return 1; } public OnPlayerRequestSpawn(playerid) { if( PlayerLogged[ playerid ] == true ){ SetSpawnInfo( playerid, 0, PlayerInfo[ playerid ][ pSkin ], 1732.4479, -1912.1218, 13.5623, 360.00, 0, 0, 0, 0, 0, 0 ); SpawnPlayer( playerid ); } else return false; return 1; }