SA-MP Forums Archive
[Ajuda] warning 202: number of arguments does not match definition - 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] warning 202: number of arguments does not match definition (/showthread.php?tid=370444)



[Ajuda] warning 202: number of arguments does not match definition - Kurt Cobain - 20.08.2012

Estou fazendo um server de mбfia rp. Daн criei compound (HQ) da famнlia Montana, daн eu queria colocar uma gangzone com cor amarela, fiz os codes, peguei a coordenada e tudo, daн quando fui compilar deu:


Code:
C:\Users\Hermes\Desktop\Brasil Mбfia RPG\Brasil Magic Games\gamemodes\BMG.pwn(13267) : warning 202: number of arguments does not match definition
Code:
CompoundMontana = GangZoneCreate(1493.2996,-676.9346,105.9206,174);
Linha do warning

creio que seja a coordenada mas eu coloquei ela certinha ! eu dei /save e tudo olhem a coordenada original do /save:
Code:
AddPlayerClass(3,1493.2996,-676.9346,105.9206,174.4604,0,0,0,0,0,0); // M
Entгo... os codes da Gangzone:

Code:
new CompoundMontana
Code:
public OnGameModeInit()
{
    GangZoneShowForAll(CompoundMontana, 0xFFFF33F6);
rs, nгo sabia onde colocar.

Code:
CompoundMontana = GangZoneCreate(1497.5126,-689.2930,103.8138);
Alguйm me ajude por favor ? ainda estou pegando o jeito em pawn. Obrigado !


Re: [Ajuda] warning 202: number of arguments does not match definition - Since` - 20.08.2012

(Float:minx, Float:miny, Float:maxx, Float:maxy)

pawn Code:
CompoundMontana = GangZoneCreate(1493.2996,-676.9346,105.9206,174.4604);



Re: [Ajuda] warning 202: number of arguments does not match definition - Kurt Cobain - 20.08.2012

Tirou o warning mas nгo apareceu a GangZone me ajuda ?


Re: [Ajuda] warning 202: number of arguments does not match definition - darkxdll - 20.08.2012

pawn Code:
new CompoundMontana;
//No topo /\
//Em ongamemodeinit \/
CompoundMontana = GangZoneCreate(1493.2996,-676.9346,105.9206,174.4604);
GangZoneShowForAll(CompoundMontana, 0xFFFF33F6);
Nem testei.



Re: [Ajuda] warning 202: number of arguments does not match definition - Kurt Cobain - 20.08.2012

Puts cara, coloquei tudo no OnGameModeInit e o new no topo e ainda nгo apareceu.



@edit: Apareceu sim do tamanho da cidade de LV kkkkkkkkkkkk vou sу ajustar o tamanho, valeu galera ! +rep para os dois.


Re: [Ajuda] warning 202: number of arguments does not match definition - Since` - 20.08.2012

Vocк pegou a posiзгo correta? й necessбrio o miny, minx, maxy e maxx.

Leia este tutorial, acredito que irб ajudar vocк.

https://sampforum.blast.hk/showthread.php?tid=164588


Re: [Ajuda] warning 202: number of arguments does not match definition - darkxdll - 20.08.2012

PlayersAjudados[playerid] ++;
:P.
Tudo tem uma soluзгo Kurt




111 Posts :P