- 0
Ajutor comanda /lsroute
-
Similar Content
-
- 4 replies
- 150 views
-
Comanda /spec
By VAurel,
- 4 answers
- 213 views
-
- 5 replies
- 334 views
-
- 4 answers
- 585 views
-
- 1 reply
- 221 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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
Link to comment
Share on other sites
7 answers to this question
Recommended Posts