Salutare all! Am si eu o problema cu comenzile /lsroute si /sfroute:( Imi iau jobul, ma duc la autobuzele de la gara si cand ma sui in ele sa dau /lsroute sau /sfroute zice ca nu sunt in AutoBuz :| comenzile sunt:
//----------------------------------[Ls Route]-----------------------------------------------
if(strcmp(cmd, "/lsroute", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 14)
{
new tmpcar = GetPlayerVehicleID(playerid);
if(IsABus(tmpcar))
{
CP[playerid] = 150;
SetPlayerCheckpoint(playerid, 1493.9727,-1726.4873,13.5469, 4.0);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Urmareste checkpointurile pentru a lua plata");
SendClientMessageToAll(COLOR_BUS,"<<Autobuzul a plecat din gara Los Santos.Urmatoarea statie:PDLS>>");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1,"You are not in Bus");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1,"You are not a bus driver");
return 1;
}
}
return 1;
}
//----------------------------------[SF Route]-----------------------------------------------
if(strcmp(cmd, "/sfroute", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 14)
{
new tmpcar = GetPlayerVehicleID(playerid);
if(IsABus(tmpcar))
{
CP[playerid] = 156;
SetPlayerCheckpoint(playerid, -2003.8007,148.5716,27.539, 4.0);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Urmareste checkpointurile pentru a lua plata");
SendClientMessageToAll(COLOR_BUS,"<<Autobuzul a plecat din Gara sf.Urmatoarea statie:Intrarea in Ls>>");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1,"You are not in Bus");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1,"You are not a bus driver");
return 1;
}
}
return 1;
}
SPECIFIC ! Am mai avut o data problema aceasta:( si din pacate am rezolvato tot cu un baiat de pe sa-mp.ro:| dar nu mai stiu cum sa o re-fac. Multumesc.
Question
tantan_andrey
Salutare all! Am si eu o problema cu comenzile /lsroute si /sfroute:( Imi iau jobul, ma duc la autobuzele de la gara si cand ma sui in ele sa dau /lsroute sau /sfroute zice ca nu sunt in AutoBuz :| comenzile sunt:
//----------------------------------[Ls Route]----------------------------------------------- if(strcmp(cmd, "/lsroute", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] == 14) { new tmpcar = GetPlayerVehicleID(playerid); if(IsABus(tmpcar)) { CP[playerid] = 150; SetPlayerCheckpoint(playerid, 1493.9727,-1726.4873,13.5469, 4.0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Urmareste checkpointurile pentru a lua plata"); SendClientMessageToAll(COLOR_BUS,"<<Autobuzul a plecat din gara Los Santos.Urmatoarea statie:PDLS>>"); } else { SendClientMessage(playerid, COLOR_GRAD1,"You are not in Bus"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD1,"You are not a bus driver"); return 1; } } return 1; } //----------------------------------[SF Route]----------------------------------------------- if(strcmp(cmd, "/sfroute", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] == 14) { new tmpcar = GetPlayerVehicleID(playerid); if(IsABus(tmpcar)) { CP[playerid] = 156; SetPlayerCheckpoint(playerid, -2003.8007,148.5716,27.539, 4.0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Urmareste checkpointurile pentru a lua plata"); SendClientMessageToAll(COLOR_BUS,"<<Autobuzul a plecat din Gara sf.Urmatoarea statie:Intrarea in Ls>>"); } else { SendClientMessage(playerid, COLOR_GRAD1,"You are not in Bus"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD1,"You are not a bus driver"); return 1; } } return 1; }SPECIFIC ! Am mai avut o data problema aceasta:( si din pacate am rezolvato tot cu un baiat de pe sa-mp.ro:| dar nu mai stiu cum sa o re-fac. Multumesc.
Sa iti dea Deumnezeu sanatate TzAkS
10 answers to this question
Recommended Posts