Errors
#1

Hello. My English is bad, sorry for that.
This is my problem:

https://i.imgur.com/gnSokpj.png

Code:

Код:
//PREVLACENJE DROGE
public OnPlayerEnterDynamicRaceCP(playerid, checkpointid);
{
	if(checkpointid == Start)
	{
		TogglePlayerDynamicRaceCP(playerid, Start, 0);
		TogglePlayerDynamicRaceCP(playerid, Prva_Destinacija, 1);
		TogglePlayerControllable(playerid, 0);
		SetTimerEx("UnfreezePlayer", 3000, false, "d", playerid):
		GameTextForPlayer(playerid,"~b~UTOVAR DROGE, PRICEKAJTE..",1500,6):
	}
	//
    if(checkpointid == Prva_Destinacija)
	{
		TogglePlayerDynamicRaceCP(playerid, Prva_Destinacija, 0);
		TogglePlayerDynamicRaceCP(playerid, Druga_Destinacija, 1);
		TogglePlayerControllable(playerid, 0);
		SetTimerEx("UnfreezePlayer", 3000, false, "d", playerid):
		GameTextForPlayer(playerid,"~b~ISTOVAR DROGE, PRICEKAJTE",1500,6):
	}
	//
 	if(checkpointid == Druga_Destinacija)
	{
		TogglePlayerDynamicRaceCP(playerid, Druga_Destinacija, 0);
		TogglePlayerDynamicRaceCP(playerid, Kraj, 1);
		TogglePlayerControllable(playerid, 0);
		SetTimerEx("UnfreezePlayer", 3000, false, "d", playerid):
		GameTextForPlayer(playerid,"~b~ISTOVAR DROGE, PRICEKAJTE",1500,6):
	}
	if(checkpointid == Kraj)
	{
	    TogglePlayerAllDynamicRaceCPs(playerid, 0);
	    Zaposlen[playerid] = 0;
	    SendClientMessage(playerid,0xFC7860FF, "INFO: Zavrisili ste misiju");
		GivePlayerMoney(playerid, 500);
		TogglePlayerControllable(playerid, 0);
		SetTimerEx("UnfreezePlayer", 3000, false, "d", playerid):
		GameTextForPlayer(playerid,"~b~ZAVRSAVANJE POSLA, PRICEKAJTE",1500,6):
	}
	//
	return 1;
}
Reply


Messages In This Thread
Errors - by rizik47 - 30.07.2018, 23:03
Re: Errors - by GRiMMREAPER - 30.07.2018, 23:48
Re: Errors - by rizik47 - 31.07.2018, 05:27

Forum Jump:


Users browsing this thread: 2 Guest(s)