- 0
Problema neoane
-
Similar Content
-
- 7 answers
- 1,691 views
-
- 3 answers
- 1,932 views
-
- 3 replies
- 238 views
-
- 1 reply
- 191 views
-
- 1 answer
- 599 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
rObY.
Salutare, am si eu o problema cu neoanele. Cumpar neonul din /shop, il aplic pe masina, dar nu se ataseaza in nici-un fel neon-ul de masina. ( nu apare neonul deloc )
function AttachNeon(playerid, idcar) { if(PlayerInfo[playerid][pCarNeon][idcar] != 0) { new neoooonss; if(PlayerInfo[playerid][pCarNeon][idcar] == 1) neoooonss = 18647; else if(PlayerInfo[playerid][pCarNeon][idcar] == 2) neoooonss = 18649; else if(PlayerInfo[playerid][pCarNeon][idcar] == 3) neoooonss = 18650; else if(PlayerInfo[playerid][pCarNeon][idcar] == 4) neoooonss = 18651; else if(PlayerInfo[playerid][pCarNeon][idcar] == 5) neoooonss = 18648; DestroyObject(Neons[0][PlayerInfo[playerid][pCarID][idcar]]); DestroyObject(Neons[1][PlayerInfo[playerid][pCarID][idcar]]); Neons[0][PlayerInfo[playerid][pCarID][idcar]] = CreateObject(neoooonss,0,0,0,0,0,0); Neons[1][PlayerInfo[playerid][pCarID][idcar]] = CreateObject(neoooonss,0,0,0,0,0,0); AttachObjectToVehicle(Neons[0][PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar],-0.8, 0.0, -0.50, 0.0, 0.0, 0.0); AttachObjectToVehicle(Neons[1][PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar],0.8, 0.0, -0.50, 0.0, 0.0, 0.0); } else { DestroyObject(Neons[0][PlayerInfo[playerid][pCarID][idcar]]); DestroyObject(Neons[1][PlayerInfo[playerid][pCarID][idcar]]); Neons[0][PlayerInfo[playerid][pCarID][idcar]] = 0; Neons[1][PlayerInfo[playerid][pCarID][idcar]] = 0; } return true; }
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now