SpawnPlayer

From SA-MP Wiki

Jump to: navigation, search


(Re)Spawns a player.


Parameters:
(playerid)
playeridThe ID of the player to spawn.


ReturnsThis function doesn't return a specific value
if (strcmp(cmdtext, "/spawn", true) == 0)
{
    SpawnPlayer(playerid);
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

Personal tools
In other languages