Help with neons
#1

A have in my GM this neon script: https://sampforum.blast.hk/showthread.php?tid=218244

I am little edited it, but I don't know:
1. how to destroy all neons when car is destroyed and respawn
2. how to make command for destroying all neons
3. if player leave destroy all his maked neons

If player make neons he can destroy it, but if he leave (or his game crash) and anyone try destroy his neons it's not possible.

And i try solve my problems here but without success https://sampforum.blast.hk/showthread.php?pid=1041972#pid1041972

Here is code:
Код:
SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                if(GetPlayerMoney(playerid) >= 9999){
    		GivePlayerMoney(playerid,-10000);
                SCM(playerid, COLOR_GREEN, "[  *  ] Blue neon installed! [-10000$] [  *  ]");
                } else {
                SCM(playerid, B_CERVENA, " [  *  ] You dont have enough money! [  *  ] ");
Reply
#2

can anyone help me please?
Reply
#3

please
Reply
#4

Make the new command whit /destroyneon ?

Show more code, then i can help you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)