C:\Users\Administrator\Desktop\PLA\gamemodes\pla.p wn(73291 -- 73357) : error 010: invalid function or declaration
C:\Users\Administrator\Desktop\PLA\gamemodes\pla.p wn(73291 -- 73359) : error 010: invalid function or declaration
C:\Users\Administrator\Desktop\PLA\gamemodes\pla.p wn(73291 -- 73361) : error 010: invalid function or declaration
Код:
mypoint = i; //Line 73291
mypointex = i;
mydeliver = Points[i][MatPoint];
}
}
if (IsPlayerInRangeOfPoint(playerid, 10.0, 2390.4531, -2008.4574, 13.5537)) // Matrun 2
{
if(GetPVarInt(playerid, "Packages") >= 10) return SendClientMessageEx(playerid, COLOR_GRAD2, "You must deliver your packages first.");
if(PlayerInfo[playerid][pDonateRank] == 1)
{
if(GetPlayerCash(playerid) < 75)
{
SendClientMessageEx(playerid, COLOR_GREY," You can't afford the $75!");
return 1;
}
GivePlayerCash(playerid, -75);
SetPVarInt(playerid, "Packages", 15);
SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"* You bought 15 Materials Packages for $75.");
SendClientMessageEx(playerid, COLOR_YELLOW,"Bronze VIP: You received 1.5x more packages, which will get you 1.5x more materials.");
}
else if(PlayerInfo[playerid][pDonateRank] == 2 || PlayerInfo[playerid][pDonateRank] == 3)
{
if(GetPlayerCash(playerid) < 100)
{
SendClientMessageEx(playerid, COLOR_GREY," You can't afford the $100!");
return 1;
}
GivePlayerCash(playerid, -100);
SetPVarInt(playerid, "Packages", 20);
SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"* You bought 20 Materials Packages for $100.");
SendClientMessageEx(playerid, COLOR_YELLOW,"Silver & Gold VIP: You received 2x more packages, which will get you 2x more materials.");
}
else if(PlayerInfo[playerid][pDonateRank] >= 4)
{
if(GetPlayerCash(playerid) < 125)
{
SendClientMessageEx(playerid, COLOR_GREY," You can't afford the $125!");
return 1;
}
GivePlayerCash(playerid, -125);
SetPVarInt(playerid, "Packages", 25);
SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"* You bought 25 Materials Packages for $125.");
SendClientMessageEx(playerid, COLOR_YELLOW,"Platinum VIP: You received 2.5x more packages, which will get you 2.5x more materials.");
}
else
{
if(GetPlayerCash(playerid) < 75)
{
SendClientMessageEx(playerid, COLOR_GREY," You can't afford the $50!");
return 1;
}
GivePlayerCash(playerid, -50);
SetPVarInt(playerid, "Packages", 10);
SendClientMessageEx(playerid, COLOR_LIGHTBLUE,"* You bought 10 Materials Packages for $50.");
}
SendClientMessageEx(playerid, COLOR_WHITE, "HINT: Deliver your packages to the materials factory marked on your checkpoint..");
SetPVarInt(playerid, "MatDeliver", 333);
SetPVarInt(playerid, "tpMatRunTimer", 10);
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPMATRUNTIMER);
SetPlayerCheckpoint(playerid, 2288.0129, -1106.0267, 37.9766, 5);
return 1;
}
return 1;
}
if (IsPlayerInRangeOfPoint(playerid, 4.0, 1423.4485, -1319.2417, 13.5547)) // Matrun 4
{
if(GetPVarInt(playerid, "Packages") >= 10) return SendClientMessageEx(playerid, COLOR_GRAD2, "You must deliver your packages first.");
if(PlayerInfo[playerid][pDonateRank] == 1) //Line 73361
Show us the lines where you create the variables, are they floats, integers or what?