06.12.2012, 12:34
Код:
410: {"Hilltop Farm", {967.30,-450.30,-3.00,1176.70,-217.90,200.00}},
Код:
682: public OnPlayerEnterCheckpoint(playerid) (THIS IS LINE 682) { new string[128]; if(VCP[playerid] == 1) { new Float:x, Float:y, Float:z; GetVehiclePos(PlayerInfo[playerid][pCarKey], x, y, z); if(PlayerToPoint(6.5,playerid,x,y,z)) { GameTextForPlayer(playerid, "~p~You have found it", 2000, 4); VCP[playerid] = 0; DisablePlayerCheckpoint(playerid); ActiveCP[playerid] = 0; } else if(PlayerInfo[playerid][pGarageKey] != 0 && PlayerToPoint(6.5,playerid,Garages[PlayerInfo[playerid][pGarageKey]][EnterX],Garages[PlayerInfo[playerid][pGarageKey]][EnterY],Garages[PlayerInfo[playerid][pGarageKey]][EnterZ])) { GameTextForPlayer(playerid, "~p~You have found it", 2000, 4); VCP[playerid] = 0; DisablePlayerCheckpoint(playerid); ActiveCP[playerid] = 0; } }
Код:
719: case 0: // This is the first place, factory at flint. { TruckerPickup[playerid][0]++; (THIS IS LINE 719) SendClientMessage(playerid, COLOR_WHITE, "Alright, my name is Earl and I'll be on the trucker radio with you."); SendClientMessage(playerid, COLOR_WHITE, "To keep you updated, now head to the Blueberry Factory and load up the trailer."); PlayerInfo[playerid][TruckDelivX] = -15.2205; PlayerInfo[playerid][TruckDelivY] = -273.2395; PlayerInfo[playerid][TruckDelivZ] = 5.4297; SetPlayerCheckpoint(playerid,PlayerInfo[playerid][TruckDelivX],PlayerInfo[playerid][TruckDelivY],PlayerInfo[playerid][TruckDelivZ],3.0); }
Код:
871: if(JustStarted[playerid] != 1) { PlayerInfo[playerid][pPayCheck] += cash * 5; format(string, sizeof(string), "~w~Good work~n~~g~$%d added to your paycheck.",cash); GameTextForPlayer(playerid, string, 5000, 1); } (THIS IS LINE 871) else { JustStarted[playerid] = 0; } SetPlayerCheckpoint(playerid, -412.9661,-1343.8303,25.2515, 5.0); // Farm PlayerInfo[playerid][pCanJob] += 1; }