Need fast help! [Will pay!]
#1

Hello!

How I can script like:
When player is front of the 24/7 door, only then he can write CMD /enter. When he leaves from that area he can't use that cmd anymore.
Reply
#2

gimme ur msn / skype
Reply
#3

My MSN : whyyoursad@hotmail.com
Reply
#4

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Reply
#5

You should add a script which says that you cant type it if you're not in front of a door. Should be some functions for it. You sure you have a /exit command?
Reply
#6

use this:
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Reply
#7

I'll give you an example for ZCMD

pawn Код:
CMD:enter(playerid,params[])
{
    if(IsPlayerInRangeOfPoint(*Your coods here*)
    {
         SetPlayerPos(*Your Coords here*);
         SetPlayerFacingAngle(*your angle coords here*);
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)