2 errors
#1

Код:
(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
Reply
#2

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

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
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
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");
Reply
#4

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

its an sfcnr server.
we just want to take away dialog from when u are robbing because if u are robbing you cant chat.
Reply
#6

Just simply remove that function and remove the response to it from OnDialogResponse.
Reply
#7

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

Show the

pawn Код:
public OnDialog(etc...
Please
Reply
#9

public OnDialog(playerid, dialogid, response, listitem, inputtext[])
Reply
#10

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[])
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)