Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(strcmp(x_job,"Uber",true) == 0)
- {
- if(UberCall[playerid] == playerid)
- {
- if(TransportDuty[playerid] == 1 && UberCallTime[playerid] > 0)
- return SCM(playerid,COLOR_WHITE,"{FFB870}You are not the current caller.");
- UberAccepted[playerid] = 999;
- SCM(playerid,COLOR_LIGHTBLUE,"You have canceled the call.");
- UberCallTime[playerid] = 0;
- DisablePlayerCheckpoint(playerid);
- UberCall[playerid] = -1;
- if(IsPlayerConnected(UberCall[playerid]))
- {
- if(UberCall[playerid] == playerid)
- {
- UberCall[playerid] = -1;
- }
- }
- foreach(Player,i)
- {
- if(UberAccepted[i] < 999)
- {
- if(UberAccepted[i] == playerid)
- {
- UberAccepted[i] = 999;
- SCM(i,COLOR_LIGHTBLUE,"Uber caller canceled the call.");
- UberCallTime[i] = 0;
- DisablePlayerCheckpoint(i);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement