29.12.2018, 15:36
Quote:
ocmd:trainduty(playerid,params[]) { new hurensohn = GetVehicleModel(playerid); if(PlayerInfo[playerid][pJob]!= return SCM(playerid,COOLRED,"You are no Train Driver!"); if(TrainDuty[playerid]==1) return SCM(playerid,COOLRED,"You're already On Duty !"); if(hurensohn== 537 || hurensohn== 53 { TrainDuty[playerid]= 1; TrainCP[playerid]= 1; SetPlayerCheckpoint(playerid,1446.8014,2632.0544,1 0.8203,8.0); NearMessage(playerid,"Next Station: San Fierro"); TrainCPTime[playerid] = GetTickCount() + 60000; return 1; } else return SCM(playerid,COOLRED,"You are not in any Train"); } |
You are in no train