Compiles but getting warnings
#1

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.
Reply
#2

show line 1397
Reply
#3

Can you post your lines, that have problems?
Reply
#4

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]");
Reply
#5

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.
Reply
#6

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
Reply
#7

I do, but I'm pretty sure it's off-topic
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)