2 errors -
Vendicatori - 18.07.2012
Код:
(2594) SetPlayerPos(playerid,-2964.2361,1740.6021,3.8703,272.6772);
(11351) SetPlayerPos(playerid, -2964.2361,1740.6021,3.8703,272.6772);
Errors:
C:\Users\sala\Downloads\GameMode San Andreas\SFCRRPG.pwn(2594) : warning 202: number of arguments does not match definition
C:\Users\sala\Downloads\GameMode San Andreas\SFCRRPG.pwn(11351) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
and i want to take away dialog from this:
Код:
ShowPlayerDialog(playerid,DIALOG_BURGERSHOT,DIALOG_STYLE_MSGBOX,"{FF0000}Burger Shot Robbery",string,"Ok","Cancel");
i dont know how
Re: 2 errors -
Ironboy - 18.07.2012
pawn Код:
SetPlayerPos(playerid,-2964.2361,1740.6021,3.8703);
SetPlayerPos(playerid, -2964.2361,1740.6021,3.8703);
Check this out
https://sampwiki.blast.hk/wiki/SetPlayerPos
Re: 2 errors -
Vendicatori - 18.07.2012
Quote:
Originally Posted by Ironboy
|
Thank you man! anyways do you know how to delete the dialog from this?
ShowPlayerDialog(playerid,DIALOG_BURGERSHOT,DIALOG _STYLE_MSGBOX,"{FF0000}Burger Shot Robbery",string,"Ok","Cancel");
Re: 2 errors -
Christopher - 18.07.2012
Quote:
Originally Posted by Vendicatori
Thank you man! anyways do you know how to delete the dialog from this?
ShowPlayerDialog(playerid,DIALOG_BURGERSHOT,DIALOG _STYLE_MSGBOX,"{FF0000}Burger Shot Robbery",string,"Ok","Cancel");
|
What do you mean "delete the dialog" exactly? If you are referring to totally removing the dialog from the server just remove the function?
Re: 2 errors -
Vendicatori - 18.07.2012
its an sfcnr server.
we just want to take away dialog from when u are robbing because if u are robbing you cant chat.
Re: 2 errors -
Christopher - 18.07.2012
Just simply remove that function and remove the response to it from OnDialogResponse.
Re: 2 errors -
Vendicatori - 18.07.2012
C:\Users\sala\Downloads\GameMode San Andreas\SFCRRPG.pwn(11797) : warning 235: public function lacks forward declaration (symbol "OnDialog")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Re: 2 errors -
L.Hudson - 18.07.2012
Show the
Please
Re: 2 errors -
Vendicatori - 18.07.2012
public OnDialog(playerid, dialogid, response, listitem, inputtext[])
Re: 2 errors -
L.Hudson - 18.07.2012
add above public OnDialog(playerid, dialogid, response, listitem, inputtext[])
pawn Код:
forward OnDialog(playerid, dialogid, response, listitem, inputtext[])
it should look like this
pawn Код:
forward OnDialog(playerid, dialogid, response, listitem, inputtext[])
public OnDialog(playerid, dialogid, response, listitem, inputtext[])