19.02.2012, 09:05
Hey, since yesterday, i'm using y_hooks for easy callback hooking. Now i've got a problem:
This won't get called. (based on the missing of the 'Called' print in my samp-server.exe) Can anybody tell me why's that?
Greetz,
Danny
EDIT: I'm also getting this message after some time: 'Error: Could not connect to the YSI update server.'
Maybe these two things has something to do with eachother?
Code:
Hook:DM_OnGameModeInIt() { print("Called"); for(new i=0; i<MAX_ZONES; i++){dmInfo[i][ZoneID]=-1;} for(new i=0; i<MAX_PLAYERS; i++){pDMinfo[i][0]=-1;} //The creating of the DM zones CreateDMZone("World War 2 DM","USA","Germany",-971.3320,1020.9902,1345.0673, -1135.7421,1095.4961,1345.8173, 10, 0, 24, 25, 30); return 1; }
Greetz,
Danny
EDIT: I'm also getting this message after some time: 'Error: Could not connect to the YSI update server.'
Maybe these two things has something to do with eachother?