SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 13/10/2009, 07:24 PM   #1
Ritchie999
Gangsta
 
Join Date: Aug 2009
Location: Republic Of Ireland
Posts: 723
Reputation: 3
Default Pawno warning 202: number of arguments does not match definition

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
Code:
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

Code:
#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

__________________
Ritchie999 is offline  
Old 13/10/2009, 07:36 PM   #2
Eazy_Efolife
High-roller
 
Join Date: Aug 2009
Posts: 1,206
Reputation: 9
Default Re: Pawno warning 202: number of arguments does not match definition

Try This:

Code:
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)
Eazy_Efolife is offline  
Old 13/10/2009, 07:44 PM   #3
Ritchie999
Gangsta
 
Join Date: Aug 2009
Location: Republic Of Ireland
Posts: 723
Reputation: 3
Default Re: Pawno warning 202: number of arguments does not match definition

That worked
Thank you

i just copied them vehicles out of a script that covers LS
__________________
Ritchie999 is offline  
Old 13/10/2009, 07:45 PM   #4
Eazy_Efolife
High-roller
 
Join Date: Aug 2009
Posts: 1,206
Reputation: 9
Default Re: Pawno warning 202: number of arguments does not match definition

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
Eazy_Efolife is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
warning 202: number of arguments does not match definition gijs_min Help Archive 9 01/07/2011 03:05 PM
Help: warning 202: number of arguments does not match definition Rafael_Olivieri Help Archive 5 15/03/2010 12:57 AM
Number of arguments does not match definition [Warning 202] Mujib Help Archive 3 02/01/2010 03:55 PM
warning 202: number of arguments does not match definition elvago Help Archive 9 18/06/2009 12:30 AM


All times are GMT. The time now is 10:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.