Compiles but getting warnings -
NewerthRoleplay - 13.12.2011
Hi well ive been editing my own script for some time now..(You may call me stupid as i am a noob at PAWN, I prefer html XD). But anyway cutting to the chase im getting 2 warnings, yes i know that it still compiled but a warning is a warning

, anyways here is the warnings all i did was change a few of the error messages into dialogs as i am just testing out things!
Код:
F:\NRP - Script\gamemodes\NRP.pwn(1397) : warning 202: number of arguments does not match definition
F:\NRP - Script\gamemodes\NRP.pwn(1397) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
Re: Compiles but getting warnings - Astralis - 13.12.2011
show line 1397
Re: Compiles but getting warnings -
rooney12 - 13.12.2011
Can you post your lines, that have problems?
Re: Compiles but getting warnings -
NewerthRoleplay - 13.12.2011
Here is line 1397 its one of the dialogs i added :P
pawn Код:
else return ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"ERROR","This player did not ask for help! [Wrong ID]");
Re: Compiles but getting warnings -
KingHual - 13.12.2011
The correct syntax of ShowPlayerDialog is ShowPlayerDialog(playerid, dialogid, style, title[], text[], button1 text[], button2 text[]); and you forgot to put the button text options.
Re: Compiles but getting warnings -
NewerthRoleplay - 13.12.2011
Quote:
Originally Posted by king_hual
The correct syntax of ShowPlayerDialog is ShowPlayerDialog(playerid, dialogid, style, title[], text[], button1 text[], button2 text[]); and you forgot to put the button text options.
|
Thanks alot king_hual just one more question you know how to even start coding a faction and job system i think i know how to sort out the faction system but only static factions :P
So if you know how to make a few simple jobs with checkpoints and a goal etc. please reply! :P
Re: Compiles but getting warnings -
KingHual - 13.12.2011
I do, but I'm pretty sure it's off-topic
Re: Compiles but getting warnings -
NewerthRoleplay - 13.12.2011
Quote:
Originally Posted by king_hual
I do, but I'm pretty sure it's off-topic
|
I dont suppose you could PM me and also my server keeps randomly crashing after a while but gtg now.