SA-MP Forums Archive
[Help] Pickups - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Pickups (/showthread.php?tid=93686)



[Help] Pickups - borisblat - 26.08.2009

Код:
	if(pickupid == Pot) PotWinner(playerid, PotReward);
	else if(pickupid == Reg1)
  {
		SCM(playerid, LIGHTBLUE, "~ зеч осфш - 1");
		SCM(playerid, GRAY, "(1) - айп мдщъощ бц'йийн, ишййршйн ае лем сев азш щм ъелеръ дачйн");
	}
	else if(pickupid == Reg2)
	{
	  SCM(playerid, LIGHTBLUE, "~ зеч осфш - 2 ~");
		SCM(playerid, GRAY, "(2) - айп мйшеъ тм агойрйн мбрйн - агойп мбп деа агойп бъфчйг");
	}
	else if(pickupid == Reg3)
	{
    SCM(playerid, LIGHTBLUE, "~ зеч осфш - 3 ~");
		SCM(playerid, GRAY, "(3) - айп мчмм ае мдтмйб щен щзчп бцешд лмщдй");
	}
	else if(pickupid == Reg4)
	{
		SCM(playerid, LIGHTBLUE, "~ зеч осфш - 4 ~");
		SCM(playerid, GRAY, "(4) - йщ мбцт аъ дешеаъ дагойрйн");
	}
	else if(pickupid == Reg5)
	{
		SCM(playerid, LIGHTBLUE, "~ зеч осфш - 5 ~");
		SCM(playerid, GRAY, "(5) - асеш мбцт ийн чйм/сфаееп чйм ае мшоеъ аъ отшлъ дшоеъ блм гшк азшъ");
	}
	else if(pickupid == Reg6)
	{
		SCM(playerid, LIGHTBLUE, "~ зеч осфш - 6 ~");
		SCM(playerid, GRAY, "(6) - асеш мфшсн чдймеъ оъзшеъ");
	}
	else if(pickupid == Reg7)
	{
		SCM(playerid, LIGHTBLUE, "~ зеч осфш - 7 ~");
		SCM(playerid, GRAY, "(7) - айп мйшеъ байжешйн биезйн - зрейеъ рщчйн, зрейеъ аелм, ебрч");
	}
	else if(pickupid == Reg8)
	{
		SCM(playerid, LIGHTBLUE, "сййоъ аъ чшйаъ дзечйн, еаъ ддшщод. аъд йлем мдщъвш тлщйе");
		Started[playerid] = 1;
	}
hi, sometimes when i pickup for example the "Pot" pickup i get the text of "Reg1" pickup, how can i fix this


Re: [Help] Pickups - dice7 - 26.08.2009

It's a bug

Quote:
CreatePickup - Pickup ids are often different for different players. I presume it is a problem with keeping track of them and assigning ids for players. This affects OnPlayerPickUpPickup and DestroyPickup as they will be used with different pickups for players.



Re: [Help] Pickups - borisblat - 26.08.2009

so there is no way to fix this and this is a bug of SA:MP?


Re: [Help] Pickups - cozza123456 - 26.08.2009

Yep Unfixable