Still spawns. o.O
#1

Alright, i started making a new script. (Gamemode, yay, might release later if not in use.)

Код:
if(fexist(string))
{
gPlayerAccount[playerid] = 1;
SendClientMessage(playerid, COLOR_RED, "SERVER: That name is already registered! Please login, or get a new name.");
return 1;
}
GivePlayerMoney(playerid, 1000);
SetPlayerInterior(playerid,0);
SetPlayerRandomSpawn(playerid);
return 1;
}
Idk.. it sends the message, and sets there spawn near a farm? which the spawns aint even there.
ideas?
Reply
#2

Spawning you near a farm usually means it spawned you at the coordinates 0, 0, 0 which means there must be an error in your SetPlayerRandomSpawn function.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)