Quote:
Originally Posted by HardRock
Maybe...
PHP код:
if(MatsCar(vehicleid))
{
if(MatsJob[playerid] == 1){
MatsJob[playerid] = 2;
SetPlayerCheckpoint(playerid,MatsSob2,10);
SendClientMessage(playerid, COLOR_WHITE, "[{FFD200}LOKACIJA{FAFAFA}]: Vozi do lokaciju gde treba da uzes matsa.");
return 1;
}
if(MatsJob[playerid] == 2){
MatsJob[playerid] = 3;
SetPlayerCheckpoint(playerid,MatsSob3,10);
SendClientMessage(playerid, COLOR_WHITE, "[{FFD200}INFO{FAFAFA}]: Uzeo si {00B9FF}GPS{FAFAFA} lokaciju za sobiranje matsa.");
SendClientMessage(playerid, COLOR_WHITE, "[{FFD200}LOKACIJA{FAFAFA}]: Sledeca lokacije ti je da uzmes mats sa mesto.");
return 1;
}
if(MatsJob[playerid] == 3){
MatsJob[playerid] = 4;
SetPlayerCheckpoint(playerid,MatsSob4,10);
SendClientMessage(playerid, COLOR_WHITE, "[{FFD200}INFO{FAFAFA}]: Uzeo si {00B9FF}500{FAFAFA} mats.");
SendClientMessage(playerid, COLOR_WHITE, "[{FFD200}LOKACIJA{FAFAFA}]: Sledeca lokacije ti je da prerabotis materijali sledi tocku.");
return 1;
}
if(MatsJob[playerid] == 4){
MatsJob[playerid] = 0;
PlayerInfo[playerid][pMaterials] += 500;
SendClientMessage(playerid, COLOR_WHITE, "[{FFD200}INFO{FAFAFA}]: Prerabotio si i sobrao {00B9FF}500{FAFAFA} mats.");
new veh;
veh = GetPlayerVehicleID(playerid);
SetVehicleToRespawn(veh);
DisablePlayerCheckpoint(playerid);
}
}
|
Nope same as before also there no checkpoint MatsJob4 there only MatsJob1 MatsJob2 MasJob3.
And the also there problem in the cars if you read everything you can see the boats are not locked and the player is not removed everyone can drive then.