ZCMD doesnt work
#1

Код:
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
Reply
#2

I have tis problem to
Reply
#3

Then make it with strcmp. For teleport commands is strcmp the best.
Reply
#4

Quote:
Originally Posted by Blackazur
Посмотреть сообщение
Then make it with strcmp. For teleport commands is strcmp the best.
Want to learn ZCMD. strcmp is easy
Reply
#5

Help plz
Reply
#6

did you tryed to remove OnPlayerCommand callback from your gm?
Reply
#7

yes it is removed
Reply
#8

BUMP
Reply
#9

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.
Reply
#10

I dont have any strcmp, all the commands are in zcmd
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)