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 ?
help me please
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", cmdtext, true, 10) == 0)
{
gDmSpawn[playerid] = 0;
SendClientMessage(playerid, COLOR_YELLOW, "You will no longer respawn in DM's");
SpawnPlayer(playerid);
return 1;
}