How do I make a fuction notmoving(playerid)?
#1

if the players x and y location doesn't change the notmoving(playerid) will return true other wise it returns false. How do i write a code to do that :S I tried making a timer but failed.
Reply
#2

Quote:
Originally Posted by Nrp_RP
dunno!
Don't fucking post than.
Quote:

No SPAM. If you are adding no useful information to a topic, you are spamming.

http://forum.sa-mp.com/index.php?topic=87043.0

Uh, create a timer for X amount of seconds & save the players position to a file.
pawn Код:
if (GetPlayerPos(playerid) == PlayerInfo[playerid][oldPos])
{
// something
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)