[Tutorial] Trucking Missions
#4

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
I started to read this and then i seen
pawn Код:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1


Its great to get a good tutorial on stuff like this,
but it would be better to use one of the better command processors,
when writing a tutorial you should always make sure your using the best coding practices.
Well, I used dcmd for simplicity sake, as mentioned. People will spend ages trying to find zcmd or something like that.

I did originally make the script with zcmd, however I converted it to dcmd. I like to provide nessecary resources within the tutorial itself.

Also, callbacks... *facepalm* I meant to write functions... :/
Reply


Messages In This Thread
Trucking Missions - by Jack_Rocker - 07.05.2012, 17:05
Re: Trucking Missions - by kikito - 07.05.2012, 18:37
Re: Trucking Missions - by Jonny5 - 07.05.2012, 18:51
Re: Trucking Missions - by Jack_Rocker - 07.05.2012, 21:21
Re: Trucking Missions - by Karl[NDZ] - 10.05.2012, 18:55
Re: Trucking Missions - by Mr.Fames - 10.05.2012, 20:14
Re: Trucking Missions - by Jack_Rocker - 11.05.2012, 23:57
Re: Trucking Missions - by Karl[NDZ] - 12.05.2012, 08:17

Forum Jump:


Users browsing this thread: 1 Guest(s)