SA-MP Forums Archive
[Ajuda] Simples Warnings.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Simples Warnings.. (/showthread.php?tid=437099)



Simples Warnings.. - Hugo_Matos - 14.05.2013

Sгo warnings simples so que eu esqueci como se resolve ... ( й gm do zero mesmo )
Код:
C:\Users\Huug\Desktop\Ice Games\gamemodes\RPG.pwn(28) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ics\gamemodes\RPG.pwn(29) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ics\gamemodes\RPG.pwn(30) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ics\gamemodes\RPG.pwn(31) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ics\gamemodes\RPG.pwn(32) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ics\gamemodes\RPG.pwn(33) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Is\gamemodes\RPG.pwn(34) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ic\gamemodes\RPG.pwn(35) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ic\gamemodes\RPG.pwn(36) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ic\gamemodes\RPG.pwn(37) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ics\gamemodes\RPG.pwn(38) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ic\gamemodes\RPG.pwn(39) : warning 202: number of arguments does not match definition
C:\Users\Huug\Desktop\Ic\gamemodes\RPG.pwn(40) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


13 Warnings.
pawn Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Hugo Matos");
    AddPlayerClass(0, 1127.0950,-2037.0344,69.8836, 269.3455, 0, 0, 0, 0, 0, 0);
   
    // Faggios Spawn Civil Abaixo
    AddStaticVehicleEx(462,1243.5028,-2007.6812,59.8914,180.3347,1,0); // Faggio Spawn [1]
    AddStaticVehicleEx(462,1243.5028,-2007.6812,59.8914,180.3347,1,0); // Faggio Spawn [2]
    AddStaticVehicleEx(462,1247.6989,-2007.8025,59.7715,181.2021,1,0); // Faggio Spawn [3]
    AddStaticVehicleEx(462,1250.1028,-2007.8441,59.7028,185.9021,1,0); // Faggio Spawn [4]
    AddStaticVehicleEx(462,1252.7804,-2007.8253,59.6263,182.7688,1,0); // Faggio Spawn [5]
    AddStaticVehicleEx(462,1256.1006,-2007.8221,59.5314,182.7687,1,0); // Faggio Spawn [6]
    AddStaticVehicleEx(462,1259.6373,-2007.7604,59.4303,184.6486,1,0); // Faggio Spawn [7]
    AddStaticVehicleEx(462,1263.6646,-2007.8424,59.3152,181.5152,1,0); // Faggio Spawn [8]
    AddStaticVehicleEx(462,1267.4089,-2007.7389,59.2082,183.3951,1,0); // Faggio Spawn [9]
    AddStaticVehicleEx(462,1270.1232,-2007.7841,59.1306,180.2617,1,0); // Faggio Spawn [10]
    AddStaticVehicleEx(462,1273.0760,-2007.8486,59.0462,183.0818,1,0); // Faggio Spawn [11]
    AddStaticVehicleEx(462,1275.8348,-2007.8260,58.9674,182.1418,1,0); // Faggio Spawn [12]
    AddStaticVehicleEx(462,1279.2668,-2007.8373,58.8693,181.2742,1,0); // Faggio Spawn [13]



Re: Simples Warnings.. - Hugo_Matos - 14.05.2013

Ja lembrei como resolve , valeu , era so tirar o " Ex " do final do AddStaticVehicle


Re: Simples Warnings.. - Cromado - 14.05.2013

LoL pra que esse topico lek .-.


Re: Simples Warnings.. - GReeN_WOoD - 14.05.2013

vocк nгo precisa retirar o 'EX' o warning que ta dando й porque ta faltando o tempo de spawn do veiculo.. exemplo:

PHP код:
AddStaticVehicleEx(462,1243.5028,-2007.6812,59.8914,180.3347,1,0, 10000); // Faggio Spawn [1] 
Acrescentei o 10000 no final, ou seja.. o tempo de spawn do veiculo й 10 segundos.

se quiser colocar infinito basta colocar -1.


Re: Simples Warnings.. - feliphemort - 14.05.2013

Tinha parametros errados ai.