alinutz_boy32 Posted January 6, 2014 Posted January 6, 2014 D:\New Romania Play Stunt!\gamemodes\RGS.pwn(2046) : warning 202: number of arguments does not match definitionPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhaseHeader size: 11312 bytesCode size: 561448 bytesData size: 526264 bytesStack/heap size: 16384 bytes; estimated max. usage=5041 cells (20164 bytes)Total requirements: 1115408 bytes1 Warning.else if ( pickupid == Pick [ 14 ] ) { asta e linia- return cmd_cmds( playerid ); }
[XSR]NexT Posted January 7, 2014 Posted January 7, 2014 Scoate acele acolade { }else if ( pickupid == Pick [ 14 ] ) return cmd_cmds( playerid );
alinutz_boy32 Posted January 7, 2014 Author Posted January 7, 2014 tot la fel!Uite cum sunt altele in gm [pawn]else if ( pickupid == Pick [ 8 ] ) { GivePlayerWeapon ( playerid , 46 , 1 ) ; }[/pawn]eu dupa asta m-am luat!
alinutz_boy32 Posted January 7, 2014 Author Posted January 7, 2014 D:\RGS.pwn(2049) : error 017: undefined symbol "params"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error... si daca punnew params;D:\RGS.pwn(2049) : error 029: invalid expression, assumed zeroD:\RGS.pwn(2049) : warning 215: expression has no effectD:\RGS.pwn(2049) : error 001: expected token: ";", but found "if"D:\RGS.pwn(2049) : error 029: invalid expression, assumed zeroD:\RGS.pwn(2049) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase4 Errors.
Iulian Posted January 7, 2014 Posted January 7, 2014 Scoate new params si incearca asa:return cmd_cmds(playerid); Rate me
Iulian Posted January 7, 2014 Posted January 7, 2014 else if ( pickupid == Pick [ 14 ] ) return cmd_cmds(playerid);Asa ai pus? Rate me
Rock Posted January 7, 2014 Posted January 7, 2014 Codul de genul merge doar intr-o alta comanda zcmd.CMD:test1( playerid, params[ ] ){ print( "Merge!" ); return 1;}CMD:test2( playerid, params[ ] ){ return cmd_test1( playerid, params );} Just Rock
Rock Posted January 7, 2014 Posted January 7, 2014 return ShowPlayerDialog( playerid, CMD_DIALOG, DIALOG_SYLE_MSGBOX, "Commands", "Comenzile, etc etc", "Ok", "" );In caz ca, comanda /cmds trimite comenzile folosind SendClientMessage faci un stock nou si bagi acolo.Gen:static stock MyCommands( playerid ){ SendClientMessage( playerid, -1, "Rand 1 cu comenzi" ); SendClientMessage( playerid, -1, "Rand 2 cu comenzi" ); SendClientMessage( playerid, -1, "Rand 3 cu comenzi" ); SendClientMessage( playerid, -1, "Rand etc cu comenzi" ); return 1;}Si dupareturn MyCommands( playerid ); Just Rock
Question
alinutz_boy32
D:\New Romania Play Stunt!\gamemodes\RGS.pwn(2046) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 11312 bytes
Code size: 561448 bytes
Data size: 526264 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5041 cells (20164 bytes)
Total requirements: 1115408 bytes
1 Warning.
else if ( pickupid == Pick [ 14 ] )
{
asta e linia- return cmd_cmds( playerid );
}
11 answers to this question
Recommended Posts