You are in no train
#1

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");
}

I don't get it, why I always get that message even if I am in a Train?
You are in no train
Reply


Messages In This Thread
You are in no train - by playstores - 29.12.2018, 15:36
Re: You are in no train - by RoboN1X - 29.12.2018, 15:45
Re: You are in no train - by playstores - 29.12.2018, 15:58

Forum Jump:


Users browsing this thread: 1 Guest(s)