Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/JobBus", cmdtext, true, 10) == 0)
- {
- new vID = GetPlayerVehicleID(playerid);
- if(GetVehicleModel(vID)== 431 || GetVehicleModel(vID)== 437)
- {
- if(GetPlayerTeam(playerid) == 6)
- {
- ConducB[playerid] = 0;
- SendClientMessage(playerid, 0xFFFF00AA, "Tu a commencé une la ligne !");
- SetPlayerSkin(playerid,155);
- return 1;
- }
- }
- else
- {
- SendClientMessage(playerid, 0xFFFF00AA,"Tu na pas le bon vehicule pour faire la ligne !");
- return 1;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement