Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

world spawn

$
0
0
Hello i made a script of /DM areas

but when someone /leave the /dm it spawns him in another world

how can i set it to world id 0 ?

PHP Code:

if (strcmp("/leave"cmdtexttrue10) == 0)
       {
        
gDmSpawn[playerid] = 0;
        
SendClientMessage(playeridCOLOR_YELLOW"You will no longer respawn in DM's");
        
SpawnPlayer(playerid);
        return 
1;
       } 

help me please

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>