10.02.2017, 22:52
Quote:
Perfect indents |
PHP Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/sfspawn", cmdtext, true, 10) == 0)
{
spawnSF = 1;
spawnLV = 0;
spawnLS = 0;
randomspawn = 0;
SendClientMessage(playerid, 0x99FFFF, "You have set your spawnpoint to SF!");
new str[64];
format(str,sizeof(str),"~b~Spawnpoint:~n~~r~LV~b~/~r~LS~b~/~g~SF");
GameTextForPlayer(playerid, str, 5000, 6);
return 1;
}