gabydemocray Posted September 2, 2011 Report Share Posted September 2, 2011 Salut am o problema cand vreau sa fac un GangZone.Urmez acest tutorial:http://www.sa-mp.ro/forum/index.php/topic,5493.0.htmlsi imi dau erorile astea:[pawn]F:\Gaby\Jocuri\xvcc\Replay\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definitionF:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4123) : warning 209: function "OnPlayerSpawn" should return a valueF:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4124) : error 010: invalid function or declarationF:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4127) : error 010: invalid function or declarationF:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4131) : error 010: invalid function or declarationF:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4136) : error 010: invalid function or declarationPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase4 Errors.[/pawn]Liniile :4123: }4124: if(MapIconsShown[playerid] != 1) { MapIconsShown[playerid] = 1;4127 : for(new i = 0; i < sizeof(BizzInfo); i++) { SetPlayerMapIcon(playerid,i + 1,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ],36,COLOR_LIGHTRED); }4131: for(new i = 0; i < sizeof(SBizzInfo); i++) { SetPlayerMapIcon(playerid,i + 20,SBizzInfo[sbEntranceX],SBizzInfo[sbEntranceY],SBizzInfo[sbEntranceZ],36,COLOR_LIGHTRED); } }4136:return 1;}EDIT! Link to comment Share on other sites More sharing options...
CrisTany Posted September 2, 2011 Report Share Posted September 2, 2011 Si linile unde sunt erorile ? Link to comment Share on other sites More sharing options...
IstuntmanI Posted September 2, 2011 Report Share Posted September 2, 2011 Incearca sa scoti } de la linia 4123 si compileaza, poate merge, poate acea acolada este inchisa prea devreme. Link to comment Share on other sites More sharing options...
gabydemocray Posted September 2, 2011 Author Report Share Posted September 2, 2011 Ms mult merge!Dar cu eroare asta ce fac?: [pawn]F:\Gaby\Jocuri\xvcc\Replay\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition[/pawn] Link to comment Share on other sites More sharing options...
IstuntmanI Posted September 2, 2011 Report Share Posted September 2, 2011 Ms mult merge!Dar cu eroare asta ce fac?: [pawn]F:\Gaby\Jocuri\xvcc\Replay\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition[/pawn]Baga toate includele din pawno/include de aici: http://team.sa-mp.com/files/samp03csvr_R2-2_win32.zip in locul celor pe care le ai tu, si ia ultima versiune a streamerului: http://solidfiles.com/d/09460/ Link to comment Share on other sites More sharing options...
Question
gabydemocray
Salut am o problema cand vreau sa fac un GangZone.
Urmez acest tutorial:http://www.sa-mp.ro/forum/index.php/topic,5493.0.html
si imi dau erorile astea:
[pawn]F:\Gaby\Jocuri\xvcc\Replay\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4123) : warning 209: function "OnPlayerSpawn" should return a value
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4124) : error 010: invalid function or declaration
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4127) : error 010: invalid function or declaration
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4131) : error 010: invalid function or declaration
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(4136) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
[/pawn]
Liniile :
4123: }
4124: if(MapIconsShown[playerid] != 1)
{
MapIconsShown[playerid] = 1;
4127 : for(new i = 0; i < sizeof(BizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 1,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ],36,COLOR_LIGHTRED);
}
4131: for(new i = 0; i < sizeof(SBizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,SBizzInfo[sbEntranceX],SBizzInfo[sbEntranceY],SBizzInfo[sbEntranceZ],36,COLOR_LIGHTRED);
}
}
4136:return 1;
}
EDIT!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts