- 0
[Problema]Bariera nu se inchide :|
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
ReLoaD
Deci am vrut sa pun 2 bariere care sa se deschida la comanda /barrier si sa se inchida in 4 secunde, insa cand scriu /barrier se deschide bariera, totul frumos, dar dupa 4 secunde nu se mai inchide... Care e problema?
Ce am pus:
public BarrierClose() { SetObjectRot(barrier, 0.0, 0.0, 0.2); SetObjectRot(barrier2, 0.0, 0.0, 0.2); return 1; }if (strcmp(cmdtext, "/barrier", true)==0) { if(PlayerToPoint(30.0,playerid,63.6878, -1524.5094, 5.1419)) { SetObjectRot(barrier, 0.000000,0.000000,5.000000); SetObjectRot(barrier2, 0.000000,0.000000,5.000000); SetTimer("BarrierClose", 3500, 0); SendClientMessage(playerid, COLOR_WHITE, "Bariera s-a deschis si se va inchide peste 4 secunde !"); } else { SendClientMessage(playerid,COLOR_WHITE," Nu esti la vama!"); } return 1; }5 answers to this question
Recommended Posts