Hwang dm - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hwang dm (
/showthread.php?tid=615640)
-
Loinal - 25.08.2016
Hello guys iam using Hwang dm but when i relog it spawn me without a car and not spawn me in the map
How could i fix?
Any help pls
PHP код:
public OnPlayerSpawn(playerid){
if(ServerData[Started] == true) {
SetPVarInt(playerid, "Geberdi", 1);
if(GetServerCount() > 1){
StartSpectate(playerid, GetRandomPlayer(playerid));}
}
SetPVarInt(playerid, "Spawned", 1);
TextDrawShowForPlayer(playerid, MapText);
TextDrawShowForPlayer(playerid, GecenSurem[playerid]);
TextDrawShowForPlayer(playerid, SpectateYou[playerid]);
DisableRemoteVehicleCollisions(playerid, true);
return true;
}
Re: Hwang dm -
Loinal - 26.08.2016
Guys
Re: Hwang dm -
AlexPalermitano97 - 26.08.2016
You want to spawn in a random car?
Re: Hwang dm -
Loinal - 27.08.2016
look when there is only 1 player playing and he relog he spawns with no car and in Blank gamemode spawn