Help with Teleport Messages and performing commands whilst dead
#1

Hello everyone, I've added teleport messages to my server for when a player teleports to a specific location. However, I've noticed in other servers, there is some kind of limit. This limit makes sure that if the command is repeated, the notification to show they have teleported doesn't always appear. I'm not entirely sure how this works but I have seen it in other servers and it is very helpful. Here's how my teleport messages look anyway:

PAWN Code:
Код:
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "(/sfb) %s teleported to San Fierro Beach", name);
The second thing I'm requesting help on in this topic, is how to disable commands whilst a player isn't spawned or isn't alive. As you can see in the picture below, I was still able to use the /sfb command and teleport there, even though I wasn't spawned.

Reply


Messages In This Thread
Help with Teleport Messages and performing commands whilst dead - by Mobeen - 16.03.2014, 16:47
Re: Help with Teleport Messages and performing commands whilst dead - by LocMax - 16.03.2014, 16:54
Re: Help with Teleport Messages and performing commands whilst dead - by Calabresi - 16.03.2014, 16:56
Re: Help with Teleport Messages and performing commands whilst dead - by Parallex - 16.03.2014, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)