14.04.2013, 05:07
error 010: invalid function or declaration
warning 235: public function lacks forward declaration (symbol "Drag")
Код:
public TackleCrackControl(giveplayerid){ //if(gteam[giveplayerid]!=Team_Jail){ TogglePlayerControllable(giveplayerid, 1); SendClientMessage(giveplayerid, COLOR_YELLOW, "(INFO) You can now walk again."); } Tackled[giveplayerid]=0; }
Код:
public Drag(giveplayerid, playerid) { new Float:x, Float:y, Float:z; GetPlayerPos(giveplayerid, x, y, z); SetPlayerPos(playerid, x, y+1, z); SetPlayerInterior(playerid, GetPlayerInterior(giveplayerid)); SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(giveplayerid)); }