- 0
Ajutor comanda /lsroute
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
tantan_andrey
Salut. Am si eu un Gm, care, daca imi iau jobul Bus Driver, Imi apare la /jobhelp comanda /lsroute si /sfroute. Si ar trebui cand scriu ori /lsroute ori /sfroute sa imi apara check-pointuri-le pe harta care trebuie sa ma duc cu autobuzul. Dar cand intru in autobuz, si scriu /lsroute sau /sfroute imi zice : You are not in Bus:( in gm am comenzile astea /lsroute si /sfroute:
//----------------------------------[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] = 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;
}
//----------------------------------[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] = 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;
}
Sa iti dea Deumnezeu sanatate TzAkS
7 answers to this question
Recommended Posts