23.06.2011, 23:09
pawn Код:
CMD:register( playerid, params[ ] ) // only an example, I don't know if you use dialog.
{
// Your script is here, then
SetTimerEx( "spawnPlayerEx", 100, false, "i", playerid );
}
// do the same at your login cmd or dialog
// put this in your script, not in a function ( stocks, publics, etcetera )
forward spawnPlayerEx( playerid ); public spawnPlayerEx( playerid )
{
SpawnPlayer( playerid );
return 1;
}