streamer - DestroyDynamicObject
#2

I fixed it. I made

Код:
new obj[2000];
and then
Код:
	for(new i=0; i < sizeof(iInfo); i++)
	{
	    obj[i] = CreateDynamicObject(iInfo[i][itemid],iInfo[i][i_x],iInfo[i][i_y],iInfo[i][i_z], 0.0, 0.0, 0.0, 0);
	}
Код:
if(GetObjectModel(iInfo[i][itemid] == 19165))
 		        {
					if(PlayerInfo[playerid][pMap] == 1)
					{
					    SendClientMessage(playerid, Color_Red, "Du hast bereits eine Karte!");
					}
					else
					{
					    DestroyDynamicObject(obj[i]);
					    PlayerInfo[playerid][pMap] = 1;
					    GangZoneHideForPlayer(playerid, blackmap);
					}
				}
Reply


Messages In This Thread
streamer - DestroyDynamicObject - by Dreandor - 11.06.2018, 19:49
Re: streamer - DestroyDynamicObject - by Dreandor - 11.06.2018, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)