Calling a command when enter cp
#1

Hello guys,it's possible to call a command when a player enter in a checkpoint?Because i've maked a /rob command and i need to use it for different checkpoint (different places to rob),and i was thinking if it's possible,thanks.
Reply
#2

Which command system are you using? (i.e. ZCMD)

EDIT: Actually, thinking about it, shouldn't you have different systems for shop robberies and player robbers? Are you talking about only one of these or what? Robbing what?
Reply
#3

Quote:
Originally Posted by MP2
Посмотреть сообщение
Which command system are you using? (i.e. ZCMD)

EDIT: Actually, thinking about it, shouldn't you have different systems for shop robberies and player robbers? Are you talking about only one of these or what? Robbing what?
I'm using ZCMD.

No,i use /rob command for robbing shops and players.
Reply
#4

Yes but surely they wouldn't use the same system.
Reply
#5

If you're using ZCMD:

pawn Код:
CallLocalFunction( "cmd_name", "d", playerid); // cmd_name is the name you use after COMMAND:<here> or CMD:<here>, so for example: COMMAND:rob would be cmd_rob
Reply
#6

Thank you! +rep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)