I've taken the one from City Role Play
Fixed up alot of errors, now these are the only errors left, Anyone got any idea how to fix em up?
Код:
(17630) : error 035: argument type mismatch (argument 2)
(17631) : error 035: argument type mismatch (argument 2)
(17632) : error 035: argument type mismatch (argument 2)
Код:
if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 1) return SendClientMessage(playerid, "You need to be a cop to use this.");
if(GetPVarInt(playerid, "SpeedGunStat") == 1) return KillTimer(GetPVarInt(playerid, "SpeedGunTimer")), SetPVarInt(playerid, "SpeedGunStat", 0), TextDrawDestroy(Text:GetPVarInt(playerid, "SpeedoDraw")), SendClientMessage(playerid, "You turned your speedo gun off");
SetPVarInt(playerid, "SpeedGunTimer", SetTimerEx("GetCarSpeed", 1000, 1, "i", playerid)); GivePlayerWeapon(playerid, 43, 1); SendClientMessage(playerid, "You turned on your speed gun.");
Код:
(20539) : error 035: argument type mismatch (argument 2)
Код:
if(GetPVarInt(playerid, "SpeedGunWatch") == 20) return KillTimer(GetPVarInt(playerid, "SpeedGunTimer")), SetPVarInt(playerid, "SpeedGunStat", 0), TextDrawDestroy(Text:GetPVarInt(playerid, "SpeedoDraw")), SendClientMessage(playerid, "Your speed gun was turned off as it was not being used.");
Код:
(20585) : warning 208: function with tag result used before definition, forcing reparse
Код:
stock IsPlayerAimingAt(playerid, Float:x, Float:y, Float:z, Float:radius)