21.10.2012, 09:48
the player teleports and then freezes i need to make it first the player freeze for X seconds and then teleport here is the code :
Код:
CMD:balance(playerid, params[]) { FreezePlayer(playerid, 5); SetPlayerPos(playerid,2202.5703,1987.0085,10.8203); format(fstring,sizeof(fstring), "Your Bank account balance is: $%d", BankInfo[playerid][Balance]); ShowPlayerDialog(playerid, 122, DIALOG_STYLE_MSGBOX, "{FFFFFF}QBank - Bank Balance", fstring, "Close", ""); return 1; }