Quote:
Originally Posted by PawnHunter
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;
}
|
OK, thanks but how can i make multiple names to check? (sorry for disturbing..lol)