26.12.2017, 11:45
Problem: DisablePlayerCheckpoint(playerid); dont work and SetPlayerCheckpoint(playerid, KonobarC.... dont work
Код:
[13:35:00] [POSAO] {dd750d}Odnesite porudzbinu do stola [13:35:00] [POSAO] {dd750d}Odnesite porudzbinu do stola [13:35:00] [POSAO] {dd750d}Odnesite porudzbinu do stola [13:35:00] [POSAO] {dd750d}Odnesite porudzbinu do stola [13:35:00] [POSAO] {dd750d}Odnesite porudzbinu do stola
Код:
if(Konobar[playerid] == 1) { if(DostavljenoPorudzbina[playerid] == 0) return DostavljenoPorudzbina[playerid] = 0; DisablePlayerCheckpoint(playerid); RemovePlayerAttachedObject(playerid, 0); SCM(playerid, COLOR_WHITE, "[POSAO] {dd750d}Odnesite porudzbinu do stola"); Konobar[playerid] = 2; SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY); SetPlayerAttachedObject( playerid, 0, 2219, 1, 0.002953, 0.469660, -0.009797, 269.851104, 88.443557, 0.000000, 0.804894, 1.000000, 0.822361 ); DisablePlayerCheckpoint(playerid); new rand = random(sizeof(KonobarCP)); SetPlayerCheckpoint(playerid, KonobarCP[rand][0], KonobarCP[rand][1], KonobarCP[rand][2], 1.0); }