OnPlayerEnterCP
#8

Код:
  if(CP[playerid] == 1111)
	{
  if(IsPlayerInRangeOfPoint(playerid, 4.0, 1709.8755,-1129.6815,24.1907))
    {
    for(new idvozila = 280; idvozila <= 284; idvozila++)
	{
  if(DzakoviVozila[idvozila] == 1) return SCM(playerid, -1, "[POSAO] {dd750d}Istovarili ste sve dzakove !");
  DisablePlayerCheckpoint(playerid);
  SetPlayerSpecialAction( playerid, SPECIAL_ACTION_NONE);
  RemovePlayerAttachedObject(playerid, 0);
  DzakoviVozila[idvozila] -= 1;
  DestroyPlayerObject(playerid,0);
  LoopingAnim(playerid,"MISC","PASS_RIFLE_PED",3.1,0,1,1,1,1);
  SCM(playerid, -1, "[POSAO] {dd750d}Vratite se po ostale dzakove !");
  break; // Stop the loop 
  }
  }
  }
Reply


Messages In This Thread
OnPlayerEnterCP - by Wucha - 24.12.2017, 11:34
Re: OnPlayerEnterCP - by Hunud - 24.12.2017, 11:47
Re: OnPlayerEnterCP - by Wucha - 24.12.2017, 12:25
Re: OnPlayerEnterCP - by Hunud - 24.12.2017, 12:26
Re: OnPlayerEnterCP - by Kraeror - 24.12.2017, 12:57
Re: OnPlayerEnterCP - by Wucha - 24.12.2017, 17:20
Re: OnPlayerEnterCP - by Wucha - 24.12.2017, 17:22
Re: OnPlayerEnterCP - by SintaksTR - 24.12.2017, 17:45
Re: OnPlayerEnterCP - by Wucha - 24.12.2017, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)