CancelDynamicEdit argument type mismatch (argument 2)
#1

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

Tag Mismatch isnt the right way to do it..
Reply
#3

Quote:
Originally Posted by WhiteGhost
Посмотреть сообщение
Tag Mismatch isnt the right way to do it..
What?
Reply
#4

https://sampwiki.blast.hk/wiki/CallLocalFunction

You are missing "format".
Reply
#5

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)