ZCMD doesnt work - 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 doesnt work (
/showthread.php?tid=403233)
ZCMD doesnt work -
Virus. - 29.12.2012
Код:
CMD:cityhall(playerid,params[])
{
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid,1412.639892,-1.787510,1000.924377);
return 1;
}
This code doesn't work, but it works with strcmp. The whole server doesnt respond, doesnt even spawn in the right place, gets spawn in CJ skin in BlueBerry.
EDIT : Is scanf neccessary while using zcmd?
Thanks
Re: ZCMD doesnt work -
mickos - 29.12.2012
I have tis problem to
AW: ZCMD doesnt work -
Blackazur - 29.12.2012
Then make it with strcmp. For teleport commands is strcmp the best.
Re: AW: ZCMD doesnt work -
Virus. - 29.12.2012
Quote:
Originally Posted by Blackazur
Then make it with strcmp. For teleport commands is strcmp the best.
|
Want to learn ZCMD. strcmp is easy
Re: ZCMD doesnt work -
Virus. - 29.12.2012
Help plz
Re: ZCMD doesnt work -
Yiin - 29.12.2012
did you tryed to remove OnPlayerCommand callback from your gm?
Re: ZCMD doesnt work -
Virus. - 29.12.2012
yes it is removed
Re: ZCMD doesnt work -
Virus. - 30.12.2012
BUMP
Re: ZCMD doesnt work - Jarnu - 30.12.2012
strcmp and ZCMD both together doesn't works, since ZCMD got his own OnPlayerCommandReceived which disables the usage of OnPlayerCommandText. So, you need to convert everything to ZCMD or strcmp.
Re: ZCMD doesnt work -
Virus. - 30.12.2012
I dont have any strcmp, all the commands are in zcmd