SA-MP Forums Archive
Problem With Teleport - 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: Problem With Teleport (/showthread.php?tid=534369)



Problem With Teleport - semara123 - 29.08.2014

i already wrote script teleport then my friend battle in the deathmatch arena so the problem is how to restrict this teleport command if my friend in deathmatch arena i mean i want to restrict teleport /goto [id] if the player that you want to teleport is in the deathmatch arena

please help me

sorry for my bad english


Re: Problem With Teleport - ]Rafaellos[ - 29.08.2014

Set a boolean to true if the player is in Deathmatch arena, and in your goto command, check if the player is in Deathmatch arena and return 0 or a message.