Command doesnt exist but it exist at my gamemode
#21

make it:
pawn Code:
if(VehicleBomb[closestcar] == 1)
and instead of
pawn Code:
new VehicleBomb[MAX_VEHICLES char] = 0;
make it:
pawn Code:
new VehicleBomb[MAX_VEHICLES];
if it doesnt work pm me i will make the command for you
Reply
#22

Quote:
Originally Posted by XK
View Post
make it:
pawn Code:
if(VehicleBomb[closestcar] == 1)
and instead of
pawn Code:
new VehicleBomb[MAX_VEHICLES char] = 0;
make it:
pawn Code:
new VehicleBomb[MAX_VEHICLES];
if it doesnt work pm me i will make the command for you
thanks!

The engine params is working fine and its exploding when IsPlantBomb == 1,

but:

It still gives the debug error when typing /car engine, it shows when you start the engine and if the IsPlantBomb is set to 1, While when you start the vehicle engine and when IsPlantBomb == 0, It says "Vehicle engine started" and saying Unknown Command" Why??

Code:
[16:21:17] Vehicle engine started successfully! Type (/car engine) to stop it

[16:21:17] That {0000FF}command {FFFFFF}does not exist. Use /help to see the commands.
Code:
[02/05/2014 16:20:47] [cmd] [XXX]: /pcb
[02/05/2014 16:20:54] [cmd] [XXX]: /car engine
[02/05/2014 16:20:58] [debug] Run time error 4: "Array index out of bounds"
[02/05/2014 16:20:58] [debug]  Accessing element at index 65535 past array upper bound 500
[02/05/2014 16:20:58] [debug] AMX backtrace:
[02/05/2014 16:20:58] [debug] #0 0024ab54 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from PHRP_1.2.amx
[02/05/2014 16:20:58] [death] XXX died 255
Reply
#23

I know the reason,well you are using ZCMD ans strcmp at the same time,thats not the problem but the problem is that you are using a function for ZCMD,when you write a command that is not scripted with ZCMD features it sends that message,thats why few servers dont put that feature,i mean wrong command thing because they use ZCMD and strcmp at the same time
Reply
#24

Problem Solved

I wonder if i can create the vehicle EXPLODES as soon as possible?
Reply
#25

Well i dont think that you could make it faster because when you create the explosion the car's hp gets 0 so it needs few seconds to explode...
By the way did you solve your problem i mean the wrong command problem by the thing i told you to do?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)