help to Create things
#5

Add the following under include
Код:
#include <dutils>
#include <dudb>
#include <float>
and this over your first callback
Код:
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
#pragma unused ret_memcpy
#pragma tabsize 4
This will allow you to use the dcmd commands which will remove 2 of the 3 errors.

The last 1 which is "Loose indentation" can be fixed by deleting all the spaces before the function then press tab until it fits with the rest of the lines
Reply


Messages In This Thread
help to Create things - by rong13 - 25.09.2009, 19:54
Re: help to Create things - by Desert - 25.09.2009, 20:05
Re: help to Create things - by rong13 - 25.09.2009, 20:49
Re: help to Create things - by MenaceX^ - 25.09.2009, 20:54
Re: help to Create things - by Desert - 25.09.2009, 20:56
Re: help to Create things - by rong13 - 25.09.2009, 22:23
Re: help to Create things - by rong13 - 26.09.2009, 04:48
Re: help to Create things - by Desert - 26.09.2009, 09:14
Re: help to Create things - by rong13 - 26.09.2009, 10:13
Re: help to Create things - by Desert - 26.09.2009, 11:21

Forum Jump:


Users browsing this thread: 3 Guest(s)