View Single Post
Old 31/07/2011, 09:55 AM   #1
shahartal
Big Clucker
 
Join Date: Jul 2011
Location: sa-mp
Posts: 63
Reputation: 3
Question error|AttachObjectToVehicle

i create a neon that work on dini and i have problem with this code:

pawn Code:
#define MAX_NEONS 3
new ANeon[MAX_NEONS];

Quote:
ANeon[i] = CreateObject(18652,0,0,0,0,0,0);
AttachObjectToVehicle(ANeon[1],i, 0.0, 0.0, -0.70, 0.0, 0.0, 0.0,50);
AttachObjectToVehicle(ANeon[2],i, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0,50);
AttachObjectToVehicle(ANeon[3],i, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0,50);
the red is the line error

this is the error that i get:
Quote:
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5524) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5525) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5526) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5531) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5532) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5533) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(553 : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5539) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5540) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5544) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5545) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5546) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5550) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5551) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5552) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5556) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5557) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(555 : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5562) : warning 202: number of arguments does not match definition
C:\Users\user\Documents\GTA San Andreas User Files\xx\gamemodes\ActVgames.pwn(5563) : warning 202: number of arguments does not match definition
shahartal is offline