What's the problem in this CMD?
#5

I change it and fixed it into this:
Код:
CMD:loadprodukte(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Moras biti logovan da bi koristio ovu komandu.");
   	if(PlayerInfo[playerid][pJob] != JOB_PRODUKTE && PlayerInfo[playerid][pVIPJob] != JOB_PRODUKTE) return SendClientMessage(playerid, COLOR_GREY, "Ti nisi vozac HotDoga.");
    new veh;
    veh = GetPlayerVehicleID(playerid);
    if(!ProduCar(veh)) return SendClientMessage(playerid, COLOR_GREY, "Moras biti u vozilo da bi koristeo ovu komandu.");
   	ProdJob[playerid] = 1;
    SetPlayerCheckpoint(playerid,Produkti1,11);
    SendClientMessage(playerid,COLOR_GREY,"* Pratite crvene markere!");
	return 1;
}
It work only if you in the car if you out of the car it says "Unkown"...
Reply


Messages In This Thread
What's the problem in this CMD? - by GBLTeam - 24.12.2013, 19:48
Re: What's the problem in this CMD? - by Zamora - 24.12.2013, 20:10
Re: What's the problem in this CMD? - by GBLTeam - 25.12.2013, 17:56
Re: What's the problem in this CMD? - by Jstylezzz - 25.12.2013, 17:59
Re: What's the problem in this CMD? - by GBLTeam - 25.12.2013, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)