Teleport deny if Wanted Level
#1

Hello, i made a teleport command, but now i want to make it only accesible when a player isn't on a wanted level.

Here is the example how i made the standard teleport:

if (strcmp("/test", cmdtext, true, 10) == 0)
{
Pause(playerid);
SetPlayerPos(playerid, -1944.96, 515.19, 202.2;
GetPlayerName(playerid, playername, sizeof(playername));
format(string,sizeof(string),"%s is joining test", playername);
SendClientMessageToAll(0xDEEE20FF, string);
return 1;
}


Someone please could help me out and knows a clue how to do this?

I'm very pleased about your help.
Reply


Messages In This Thread
Teleport deny if Wanted Level - by misterlc - 30.07.2011, 19:23
Re: Teleport deny if Wanted Level - by Calgon - 30.07.2011, 19:27
Re: Teleport deny if Wanted Level - by Toreno - 30.07.2011, 19:28
AW: Teleport deny if Wanted Level - by misterlc - 30.07.2011, 20:19
AW: Teleport deny if Wanted Level - by misterlc - 31.07.2011, 00:50
Re: Teleport deny if Wanted Level - by Calgon - 31.07.2011, 00:51
Respuesta: Teleport deny if Wanted Level - by Alex_Obando - 31.07.2011, 01:03
AW: Teleport deny if Wanted Level - by misterlc - 01.08.2011, 08:24
AW: Teleport deny if Wanted Level - by misterlc - 01.08.2011, 22:15

Forum Jump:


Users browsing this thread: 1 Guest(s)