[AJUDA] 21 warning's
#1

Bom, eu estou fazendo uma alteraзгo no gamemod, mudei HQ hitman de local
e tambйm os carros da org nй...

e mudei o spawn do civil e coloquei 5 motos lб, mais os carros dos hitman's
e dos civis estгo dando muito warn, eu nem sei resolver, jб aconteceu outras vezes...

Код:
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12688) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12688) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12689) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12689) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12690) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12690) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12691) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12691) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12692) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12692) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12707) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12708) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12709) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12710) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12711) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12712) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12713) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12714) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12715) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12716) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(12717) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          10708 bytes
Code size:          1971184 bytes
Data size:          2572500 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4362 cells (17448 bytes)
Total requirements: 4570776 bytes

21 Warnings.
LINHAS:

// --- Carros hitmans
AddStaticVehicle(560,1795.0175,-2023.0093,13.2374,179.9818,0,0,60000*RESPAWN_TIME) ; //
AddStaticVehicle(411,1789.3618,-2023.3621,13.2408,180.7598,0,0,60000*RESPAWN_TIME) ; //
AddStaticVehicle(411,1800.9474,-2023.0107,13.2548,180.7432,0,0,60000*RESPAWN_TIME) ; //
AddStaticVehicle(411,1807.3802,-2022.4620,13.2608,181.8912,0,0,60000*RESPAWN_TIME) ; //
AddStaticVehicle(522,1811.3459,-2028.2550,13.2158,87.2076,0,0,60000*RESPAWN_TIME); //
AddStaticVehicle(522,1811.3875,-2031.3645,13.2157,91.9274,0,0,60000*RESPAWN_TIME); //
AddStaticVehicle(560,1783.2858,-2023.2794,13.2189,180.8144,0,0,60000*RESPAWN_TIME) ; //
AddStaticVehicle(522,1811.3801,-2034.6774,13.2159,88.2319,0,0,60000*RESPAWN_TIME); //
AddStaticVehicle(522,1811.3527,-2037.6041,13.2081,89.8112,0,0,60000*RESPAWN_TIME); //
AddStaticVehicle(560,1809.2556,-2041.6859,13.2811,89.2672,0,0,60000*RESPAWN_TIME); //
AddStaticVehicle(487,1786.3617,-2042.3939,13.2774,90.2303,0,0,60000*RESPAWN_TIME); //

// ----- Carros Civis -----
// ----- Carros Civis -----
AddStaticVehicleEx(468,1439.0619,-1501.4847,13.2132,253.2789,53,53,-1,-1,60000*RESPAWN_TIME); //
AddStaticVehicleEx(468,1440.2565,-1498.9027,13.2298,251.1982,46,46,-1,-1,60000*RESPAWN_TIME); //
AddStaticVehicleEx(468,1440.8735,-1496.4700,13.2103,257.5250,6,6,-1,-1,60000*RESPAWN_TIME); //
AddStaticVehicleEx(468,1438.4347,-1504.5282,13.2239,242.2407,3,3,-1,-1,60000*RESPAWN_TIME); //
AddStaticVehicleEx(468,1437.4797,-1506.5824,13.2265,248.5733,3,3,-1,-1,60000*RESPAWN_TIME); //
Reply
#2

pawn Код:
// --- Carros hitmans
AddStaticVehicle(560,1795.0175,-2023.0093,13.2374,179.9818,0,0) ; //
AddStaticVehicle(411,1789.3618,-2023.3621,13.2408,180.7598,0,0) ; //
AddStaticVehicle(411,1800.9474,-2023.0107,13.2548,180.7432,0,0) ; //
AddStaticVehicle(411,1807.3802,-2022.4620,13.2608,181.8912,0,0) ; //
AddStaticVehicle(522,1811.3459,-2028.2550,13.2158,87.2076,0,0); //
AddStaticVehicle(522,1811.3875,-2031.3645,13.2157,91.9274,0,0); //
AddStaticVehicle(560,1783.2858,-2023.2794,13.2189,180.8144,0,0) ; //
AddStaticVehicle(522,1811.3801,-2034.6774,13.2159,88.2319,0,0); //
AddStaticVehicle(522,1811.3527,-2037.6041,13.2081,89.8112,0,0); //
AddStaticVehicle(560,1809.2556,-2041.6859,13.2811,89.2672,0,0); //
AddStaticVehicle(487,1786.3617,-2042.3939,13.2774,90.2303,0,0); //

// ----- Carros Civis -----
// ----- Carros Civis -----
AddStaticVehicleEx(468,1439.0619,-1501.4847,13.2132,253.2789,53,53,-1,-1);
AddStaticVehicleEx(468,1440.2565,-1498.9027,13.2298,251.1982,46,46,-1,-1); //
AddStaticVehicleEx(468,1440.8735,-1496.4700,13.2103,257.5250,6,6,-1,-1); //
AddStaticVehicleEx(468,1438.4347,-1504.5282,13.2239,242.2407,3,3,-1,-1); //
AddStaticVehicleEx(468,1437.4797,-1506.5824,13.2265,248.5733,3,3,-1,-1); //
Reply
#3

Abaixo de 21 warn para 5

e os erros ainda й este... sabe oque pode ser?

AddStaticVehicleEx(468,1439.0619,-1501.4847,13.2132,253.2789,53,53,-1,-1);
AddStaticVehicleEx(468,1440.2565,-1498.9027,13.2298,251.1982,46,46,-1,-1); //
AddStaticVehicleEx(468,1440.8735,-1496.4700,13.2103,257.5250,6,6,-1,-1); //
AddStaticVehicleEx(468,1438.4347,-1504.5282,13.2239,242.2407,3,3,-1,-1); //
AddStaticVehicleEx(468,1437.4797,-1506.5824,13.2265,248.5733,3,3,-1,-1); //
Reply
#4

Tenta assim:

AddStaticVehicleEx(468,1439.0619,-1501.4847,13.2132,253.2789,53,53,-1);
AddStaticVehicleEx(468,1440.2565,-1498.9027,13.2298,251.1982,46,46,-1); //
AddStaticVehicleEx(468,1440.8735,-1496.4700,13.2103,257.5250,6,6,-1); //
AddStaticVehicleEx(468,1438.4347,-1504.5282,13.2239,242.2407,3,3,-1); //
AddStaticVehicleEx(468,1437.4797,-1506.5824,13.2265,248.5733,3,3,-1); //
Reply
#5

pawn Код:
AddStaticVehicleEx(468,1439.0619,-1501.4847,13.2132,253.2789,53,53);
AddStaticVehicleEx(468,1440.2565,-1498.9027,13.2298,251.1982,46,46); //
AddStaticVehicleEx(468,1440.8735,-1496.4700,13.2103,257.5250,6,6); //
AddStaticVehicleEx(468,1438.4347,-1504.5282,13.2239,242.2407,3,3); //
AddStaticVehicleEx(468,1437.4797,-1506.5824,13.2265,248.5733,3,3); //
Pronto.
Reply
#6

Mas Shickcard, nгo tem que ter o 'respawn_delay' ?
Reply
#7

pawn Код:
AddStaticVehicleEx(468,1439.0619,-1501.4847,13.2132,253.2789,53,53,60000);
AddStaticVehicleEx(468,1440.2565,-1498.9027,13.2298,251.1982,46,46,60000); //
AddStaticVehicleEx(468,1440.8735,-1496.4700,13.2103,257.5250,6,6,60000); //
AddStaticVehicleEx(468,1438.4347,-1504.5282,13.2239,242.2407,3,3,60000); //
AddStaticVehicleEx(468,1437.4797,-1506.5824,13.2265,248.5733,3,3,60000); //
Reply
#8

Jб resolvi galerinha valeu ae, forte abraзo *-*
Reply
#9

Quote:
Originally Posted by Hardware
Посмотреть сообщение
Mas Shickcard, nгo tem que ter o 'respawn_delay' ?
RESPAWN_DELAY, neste caso, й uma define que estб no seu GameMode.

Ex:
PHP код:
#define RESPAWN_DELAY 60 
Assim o carro seria respawnado a cada 60 segundos, quando nгo ocupado.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)