11.03.2014, 14:04
Here u go:
Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid) { if(checkpointid == pCP[playerid]) { if(IsPlayerInRangeOfPoint(playerid, 1.0, 1846.8781,-1721.7274,5202.5859)) { if(regisj[playerid] == 1) { LoopingAnim(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0); SetTimerEx("AnimFixer", 100, false, "i", playerid); TextDrawShowForPlayer(playerid, Registracija0[playerid]); TextDrawShowForPlayer(playerid,Registracija1[playerid]); new stringreg[64]; format(stringreg, sizeof(stringreg), " [Pretresanje]"); TextDrawSetString(Registracija2[playerid], stringreg); TextDrawShowForPlayer(playerid,Registracija2[playerid]); SetTimerEx("Regis1", 5000, false, "i", playerid); TogglePlayerControllable(playerid, 0); h_DisablePlayerCheckpoint(playerid); DestroyDynamicCP(pCP[playerid]); // print("radi 1"); } } } }