07.02.2012, 14:46
Hello guys I have 2 errors from my code .Here is the code:
ERRORS
ERRORS
PHP код:
error 025: function heading differs from prototype
error 076: syntax error in the expression, or invalid function call
pawn Код:
forward SpeedControl(vehicleid,playerid)
pawn Код:
public SpeedControl(vehicleid,playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 15, 1578.50, 389.46, 17.92))
{
if(GetVehicleVelocity < 60)
GivePlayerMoney(playerid, 2500);
SendClientMessage(playerid, COLOR_RED, "Òè êàðàøå ñ íàä 60 êèëîìåòðà è êàìåðàòà òå ôëàøíà è èìàø ãëîáà!");
}
}