SA-MP Forums Archive
[ZCMD] Fast Commands - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [ZCMD] Fast Commands (/showthread.php?tid=322327)



[ZCMD] Fast Commands - Ubuntu - 01.03.2012

I'm experiencing a little problem with CMDs (zcmd).

I'm currently using the normal include (zcmd.inc) and this is my problem:

Whenever I go in-game with some friends the command is bugged, when I say it's bugged like if you do /gotoid 2 or /gethere 2 it will return to your own ID.

Do you have any idea?

My commands are properly scripted but I've no idea why it's returning to your own ID when performing the commands.


Re: [ZCMD] Fast Commands - ikey07 - 01.03.2012

Because you lie about correct scripted cmd ;p

Show function/script you use to return playerid


Re: [ZCMD] Fast Commands - Ubuntu - 01.03.2012

Quote:
Originally Posted by ikey07
Посмотреть сообщение
Because you lie about correct scripted cmd ;p

Show function/script you use to return playerid
Deleted.


Re: [ZCMD] Fast Commands - ikey07 - 01.03.2012

do you have latest sscanf ? also put somewhere printf("id: %d",id); and check server log after cmd executed


Re: [ZCMD] Fast Commands - Ubuntu - 01.03.2012

Yes, I do.
This is your print:
id: 2.

I found the problem, my sscanf was not updated.

Thank you.