- 0
problema comanda zcmd (cmd:up)
-
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
Ryder_RO
Salut,baieti.
Am si eu o problema.
Cand am bagat comanda de jos.
Pe ZCMD.
Cand dau /up INTALTIMEA.
Imi zice doar UP intaltime nu ma ridica.
Asa a patit si Sweet si eu.
Daca mio puteti face (MENTIONEZ folosesc SSCANF)
Repede daca se poate.
CMD:up(playerid,params[]) { new Float:x, Float:y, Float:z; new height; if(height != 0) { if(IsPlayerInAnyVehicle(playerid)) { GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z); SetVehiclePos(GetPlayerVehicleID(playerid), x, y, z + height); } else { GetPlayerPos(playerid, x, y, z); GivePlayerWeapon(playerid, 46, 1); SetPlayerPos(playerid, x, y, z + height); } } else { SendClientMessage(playerid, COLOR_GREEN, "/UP {FFFFFF}|inaltime|"); } return 1; }4 answers to this question
Recommended Posts