11.06.2018, 20:36
I fixed it. I made
and then
Код:
new obj[2000];
Код:
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); } }