Help with warnings
#1

Can anyone help me to fix these warns ?
Код:
E:\Server\gamemodes\VGRP.pwn(21658) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21659) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21660) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21661) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21662) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21663) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21664) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21665) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21666) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21667) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\VGRP.pwn(21668) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


11 Warnings.
From line 21658 to line 21668
pawn Код:
WPVehicles[0] = AddStaticVehicleEx(541,1774.5000,-1690.3032,13.0658,187.1431,86,1); // SRU Bullet
    WPVehicles[1] = AddStaticVehicleEx(541,1782.3829,-1690.4348,13.0780,177.0709,86,1); // SRU Bullet
    WPVehicles[2] = AddStaticVehicleEx(560,1775.5096,-1703.2894,13.2157,4.2119,86,1); // SRU Sultan
    WPVehicles[3] = AddStaticVehicleEx(560,1783.5000,-1703.3997,13.2507,357.2002,86,1); // SRU Sultan
    WPVehicles[4] = AddStaticVehicleEx(402,1788.5302,-1702.5028,13.3160,0.8290,86,1); // SRU Bulffalo
    WPVehicles[5] = AddStaticVehicleEx(402,1793.4999,-1702.4000,13.3258,358.6971,86,1); // SRU Buffalo
    WPVehicles[6] = AddStaticVehicleEx(541,1792.2894,-1689.7994,13.1177,178.8297,86,1); // SRU Bullet
    WPVehicles[7] = AddStaticVehicleEx(541,1797.9962,-1690.0026,13.1497,175.8053,86,1); // SRU Bullet
    WPVehicles[8] = AddStaticVehicleEx(415,1807.0015,-1690.4943,13.2917,88.9679,86,1); // SRU Cheetah
    WPVehicles[9] = AddStaticVehicleEx(415,1807.3037,-1699.0002,13.2566,88.3997,86,1); // SRU Cheetah
    WPVehicles[10] = AddStaticVehicleEx(415,1807.0040,-1706.4996,13.3145,88.4000,86,1); // SRU Cheetah
Define
pawn Код:
new WPVehicles[12];
Thanks
+ Rep
Reply
#2

pawn Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);
You have 1 parameter lesser than it expects. Add the respawn delay at the end.
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);
You have 1 parameter lesser than it expects. Add the respawn delay at the end.
its working now ,thanks man
+ Rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)