Preventing some commands in a different world
#9

Instead of doing what they said, just add this at the FIRST line in the script.

pawn Код:
if(GetPlayerVirtualWorld(playerid) != 4) return SendClientMessage(playerid, COLOR, "You can't use this command here!");
It's much easier.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 10 Guest(s)