Please help with this warning?
#1

Okay so i keep getting the warning:
Код:
warning 202: number of arguments does not match definition
heres the line the error is on:
Код:
ShowPlayerDialog(playerid,11,DIALOG_STYLE_LIST,"Car control");
I can't really find the problem here but then again im not a good scripter can anyone help me out please?
Reply
#2

You didn't put enough arguments as the function calls for. As the warning states. Lookie here.

https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply
#3

ShowPlayerDialog(playerid,11,DIALOG_STYLE_LIST,"Ca r control","What You Want","Ok","Cancel");
Reply
#4

Код:
ShowPlayerDialog(playerid,11,DIALOG_STYLE_LIST,"Car control","Ok","Cancel");
Reply
#5

Quote:
Originally Posted by CrazyBlob
Посмотреть сообщение
Код:
ShowPlayerDialog(playerid,11,DIALOG_STYLE_LIST,"Car control","Ok","Cancel");
I need to mention that instead of the "Ok" and "Cancel" you can change to what you want to be written on the buttoms.
Reply
#6

Adam420, You forgot that

Код:
ShowPlayerDialog(playerid,11,DIALOG_STYLE_LIST,"Car control","Open bonnet\nEngine start","Ok","Cancel");
Reply
#7

Okay thank you very much to everone who posted you helped me out alot!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)