08.12.2008, 20:28
Quote:
Originally Posted by hamptonin
good map
and i know how to fix the teleport problem goto the teleport lines and add 2 more hight's in the z pos example: 43.56,55.66,44.89 X Y Z change it to this: 43.56,55.66,46.89 X Y Z THIS IS A EXAMPLE ADD 2/3 MORE HIGHT IN THE Z POS |
first forward it like this
Quote:
forward DynUpdateStart(playerid); forward DynUpdateEnd(playerid); |
Quote:
public DynUpdateStart(playerid) { TogglePlayerControllable(playerid, false); new string[255]; format(string, sizeof(string), "~g~Objects~n~~r~Loading"); GameTextForPlayer(playerid, string, 3000, 6); PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetTimerEx("DynUpdateEnd", 3000, 0,"e",playerid); return 1; } public DynUpdateEnd(playerid) { TogglePlayerControllable(playerid, true); new string[255]; format(string, sizeof(string), "~g~Objects~n~~r~Loaded!"); GameTextForPlayer(playerid, string, 3000, 6); PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); return 1; } |
then what you do is that at the bottom of every tele you make put this
Quote:
DynUpdateStart(playerid); |
Quote:
if(strcmp(cmd, "/hoteljump", true) == 0) { SetPlayerPos(playerid,1975.3365,-2577.8088,311.4624); DynUpdateStart(playerid); GameTextForPlayer(playerid,"~r~Hotel jump", 5000, 3); SendClientMessage(playerid,COLOR_RED,"Hotel Jump!!"); ResetPlayerWeapons(playerid); return 1; } |
[quote]DynUpdateStart(playerid);[/quote