26.06.2014, 17:02
Try something like this!
pawn Код:
public OnPlayerSpawn(playerid)
{
new name[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name, sizeof(name));
if(!strcmp(name, "Wizdo", true)) //Not case sensitive! Replace true with false to make it case sensitive!
{
SetPlayerPos(playerid, 0.0, 0.0, 0.0); // Your special spawn
}
else
{
SetPlayerPos(playerid, 0.0, 0.0, 0.0); // Regular spawn
}
}