CancelDynamicEdit argument type mismatch (argument 2) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CancelDynamicEdit argument type mismatch (argument 2) (
/showthread.php?tid=612786)
CancelDynamicEdit argument type mismatch (argument 2) -
dud - 21.07.2016
Код:
public CancelDynamicEdit(playerid, objectid)
{
CallLocalFunction("OnPlayerEditDynamicObject", playerid, objectid, EDIT_RESPONSE_CANCEL , 0, 0, 0, 0, 0, 0);
CancelEdit(playerid);
return 1;
}
error
Код:
error 035: argument type mismatch (argument 2)
help?
Re: CancelDynamicEdit argument type mismatch (argument 2) - WhiteGhost - 21.07.2016
Tag Mismatch isnt the right way to do it..
Re: CancelDynamicEdit argument type mismatch (argument 2) -
dud - 21.07.2016
Quote:
Originally Posted by WhiteGhost
Tag Mismatch isnt the right way to do it..
|
What?
Re: CancelDynamicEdit argument type mismatch (argument 2) -
Konstantinos - 21.07.2016
https://sampwiki.blast.hk/wiki/CallLocalFunction
You are missing "format".
Re: CancelDynamicEdit argument type mismatch (argument 2) -
VVWVV - 21.07.2016
Use this:
pawn Код:
public CancelDynamicEdit(playerid, objectid)
{
CallLocalFunction("OnPlayerEditDynamicObject", "ddddddddd", playerid, _:objectid, _:EDIT_RESPONSE_CANCEL , 0, 0, 0, 0, 0, 0);
CancelEdit(playerid);
return 1;
}