warning
#1

Any idea what cause this warning an just to say i dont like warning

Код:
C:\Users\alex\Desktop\codmw2\gamemodes\COD5.pwn(4318) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.



Код:
}
  if (strcmp("/ranks", cmdtext, true) == 0)
 {
    ShowPlayerDialog(playerid, 1995, DIALOG_STYLE_LIST, "Ranks Of The Army", "***********General of The Army - 4500 score\n **********General - 2250 score\n *********Major General - 2000 score\n  ********Lieutenant General - 1500 score\n  *******Colonel - 1250 score\n   ******Major - 1000 score\n   *****Captain - 750 score \n    ****Lieutenant - 500 score\n    ***Sergeant - 250 score\n     **Corporal - 100 score\n      *Private - 50 score", "Cancel");
    return 1;
    }
Reply
#2

check the showplayerdialog you might have something behind the , to much or less
Reply
#3

pawn Код:
ShowPlayerDialog(playerid, 1995, DIALOG_STYLE_LIST, "Ranks Of The Army", "***********General of The Army - 4500 score\n **********General - 2250 score\n *********Major General - 2000 score\n  ********Lieutenant General - 1500 score\n  *******Colonel - 1250 score\n   ******Major - 1000 score\n   *****Captain - 750 score \n    ****Lieutenant - 500 score\n    ***Sergeant - 250 score\n     **Corporal - 100 score\n      *Private - 50 score", "Ok","Cancel");
Should work now :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)