11.11.2015, 19:03
PHP код:
public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME]; //Player name's variable.
GetPlayerName(playerid, pName, sizeof(pName))
if(!strcmp(pName, "John", true)) // Checking if the name matches 'John'
{
SetPlayerPos(playerid, 0, 0, 10); //Put the cords here, Just example.
}
return 1;
}