16.04.2009, 22:18
Can someone explain why when this code so much as touches the OnGameModeInit, whether it be in a called public function or in the OnGameModeInit itself, it does not execute anything afterwards?
Код:
for(new i; i < SERVER_LINKCOUNT + 1; i++) { new pickupid; sLink[i][outsidex] = Link_Outside[i][0]; sLink[i][outsidey] = Link_Outside[i][1]; sLink[i][outsidez] = Link_Outside[i][2]; sLink[i][outsideid] = CreatePickup(1239,23,sLink[i][outsidex],sLink[i][outsidey],sLink[i][outsidez]); pickupid = sLink[i][outsideid]; SERVER_LINKED_PICKUPS[pickupid] = i; sLink[i][insidex] = Link_Inside[i][0]; sLink[i][insidey] = Link_Inside[i][1]; sLink[i][insidez] = Link_Inside[i][2]; sLink[i][insideid] = CreatePickup(1239,23,sLink[i][insidex],sLink[i][insidey],sLink[i][insidez]); pickupid = sLink[i][insideid]; SERVER_LINKED_PICKUPS[pickupid] = i; sLink[i][interior] = Link_Interior[i]; format(str, 128, "Link number %d created.",i); print(str); }