Pawno warning 202: number of arguments does not match definition
#1

the first line is a line of a vehicle code that does work, the second line is a vehicle code that gives me the 202 warning
Код:
AddStaticVehicle(490,-683.6042,961.9218,12.2607,270.9361,0,0); // SS5
	AddStaticVehicle(597,-1596.1189,676.8418,-5.4731,0.9053,1,1,30000);//
here is my define line

Код:
#define MAX_STRING 500
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_YELLOW2 0xF5DEB3AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_MAGENTA 0xFF00FFFF
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_ALLDEPT 0xFF8282AA
#define COLOR_NEWS 0xFFA500AA
#define COLOR_OOC 0xE0FFFFAA
#define strtok
#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

Reply
#2

Try This:

Код:
AddStaticVehicle(490,-683.6042,961.9218,12.2607,270.9361,0,0); // SS5
AddStaticVehicle(597,-1596.1189,676.8418,-5.4731,0.9053,1,1);//
Reminder:
AddStaticVehicle Parameters:
(modelid, Floatpawn_x, Floatpawn_y,Floatpawn_z, Float:angle, color1, color2)
Reply
#3

That worked
Thank you

i just copied them vehicles out of a script that covers LS
Reply
#4

Quote:
Originally Posted by Ritchie999
That worked
Thank you

i just copied them vehicles out of a script that covers LS
No Problem, Glad I helped :P
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)