- 1
Problema job
-
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
KAPSu
De curand am pus pe server-ul meu job-ul Courier si vreau sa poate sa intre in masina doar daca scrie /courier , va dau si comanda de acum:
[pawn]if (strcmp("/courier", cmdtext, true, 10) == 0)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 499)
{
JobStatus[playerid] = 1;
TruckingJob[playerid] = 1;
SetPlayerCheckpoint(playerid,1110.5992,-1327.9216,13.7145,10);
new name[MAX_PLAYER_NAME], string[48];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "* %s is now a Courier.", name );
SendClientMessageToAll(COLOR_YELLOW, string);
return 1;
}
SendClientMessage(playerid, COLOR_RED,"You have to be in a courier truck to start the job");
}
return 0;
}[/pawn]
Cel din urma va fi cel dintâi.
5 answers to this question
Recommended Posts