- 0
Problema neoane
-
Similar Content
-
Problema turf
By Soryn.,
- 2 answers
- 209 views
-
- 1 reply
- 167 views
-
Problema
By ImJustSlim,
- 3 answers
- 279 views
-
- 2 replies
- 152 views
-
- 1 answer
- 297 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; }
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.