17.09.2014, 15:25
I need help on this ;/ Couldnt find a way how to fix them now asking for help ;/
Код:
C:\Users\WeeD\Desktop\HTLS-RP\gamemodes\HTLS-RP.pwn(11126) : error 010: invalid function or declaration C:\Users\WeeD\Desktop\HTLS-RP\gamemodes\HTLS-RP.pwn(11128) : error 010: invalid function or declaration C:\Users\WeeD\Desktop\HTLS-RP\gamemodes\HTLS-RP.pwn(11132) : error 010: invalid function or declaration C:\Users\WeeD\Desktop\HTLS-RP\gamemodes\HTLS-RP.pwn(11141) : error 010: invalid function or declaration
Код:
CMD:dropcar(playerid)
{
if(GetPlayerVehicleID(playerid) != 0)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, 2505.8506, -2629.0144, 13.2944, 5);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Drop the car at the crane!");
dropping[playerid] = true;
}
return 1;
}
11126 if(IsPlayerInCheckpoint(playerid) !=0)
{
11128 if(dropping[playerid] == true)
{
DisablePlayerCheckpoint(playerid);
stock str[128];
11132 price = 100;
{
format(str, sizeof(str), "*You've earned {FF6347}$%d{33CCFF} from dropping a car!", price);
SendClientMessage(playerid, COLOR_LIGHTBLUE, str);
GivePlayerMoney(playerid, price);
dropping[playerid] = false;
SetTimerEx("DropTimer", 20000, false, "i", playerid);
}
}
11141 return 1;
}


