28.01.2019, 12:04
Quote:
hi again , guys i think i found the problem , so if i start server and join [with out doing anything before login , i mean this is my first login !] checkpoint will show prefectlly but now, i got a dynamic checkpoint by using /givecp1 command , and it will give me this cp :
Код:
new rand = random(sizeof(playersetcheckpoints)); SetPlayerCp[playerid] = CreateDynamicCP(cp1[rand][0],cp1[rand][1],cp1[rand][2],cp1[rand][3], -1, -1, playerid, -1); and now if i get another cp with another command like /mycp2 and this cp code: Код:
new rand = random(sizeof(playersetcheckpoints)); PlllayerCp2[playerid] = CreateDynamicCP(cp2[rand][0],cp2[rand][1],cp2[rand][2],cp2[rand][3], -1, -1, playerid, -1); the checkpoint will show for 1 second and hide again ! what i'am doing on wrong way ? |
Код:
SetPlayerCp[playerid] = 0;