|
Funkcija:
jra spawnolja a jtkost
Paramterei:
SpawnPlayer(MAX_PLAYERS);
Plda:
-
public OnPlayerCommandText(playerid, cmdtext[])
-
{
-
if (strcmp("/respawn", cmdtext, true, 10) == 0)
-
{
-
SpawnPlayer(playerid);
-
SendClientMessage(playerid, 0xFFFF00AA, "jra lettl spawnolva!");
-
return 1;
-
}
-
return 0;
-
}
| |