26.12.2011, 22:08
Quote:
Try it like this:
Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source) { new Float:X, Float:Y, Float:Z; GetPlayerPos(clickedplayerid, X, Y, Z); SetTimerEx("SetPlayerPosEx", 1000, false, "dfff", playerid,X+3,Y,Z+3); return 1; } function SetPlayerPosEx(playerid,Float:x,Float:y,Float:z) public SetPlayerPosEx(playerid,Float:x,Float:y,Float:z) { SetPlayerPos(playerid,x,y,z); return 1; } |
pawn Код:
(140) : error 010: invalid function or declaration
(141) : warning 235: public function lacks forward declaration (symbol "SetPlayerPosEx")
pawn Код:
140: function SetPlayerPosEx(playerid,Float:x,Float:y,Float:z)
141: public SetPlayerPosEx(playerid,Float:x,Float:y,Float:z)