Posts: 28
Threads: 9
Joined: Nov 2010
Reputation:
0
Can someone give me a script please which will repair someones car not being in it? Like i am outside and Mike is in the car, i type some command (ex: /arepair) and Mike's car is repaired full (not only the engine, but all car). Thank you.
Posts: 332
Threads: 30
Joined: Oct 2011
Reputation:
0
U want to repair the nearest vehicle??
Posts: 28
Threads: 9
Joined: Nov 2010
Reputation:
0
Not the nearest but any car i want to repair being someone in it. Like if i am in LS and Mike is in LV and he is in a car, i type /arepair mike or /arepair 1 (his ID), and his car is repaired even if he is in other part of the map. If he is not in a car to write: Player is not in a car, and if ID 1 or Mike is not Online to write: Player is not connected, and if i am not [pAdmin] > 3 to write: You are not authorized to use this command.
Posts: 28
Threads: 9
Joined: Nov 2010
Reputation:
0
FTLOG i have this errors and warnings:
D:\Power 0.3D\gamemodes\eGamer.pwn(36322) : error 017: undefined symbol "arepair"
D:\Power 0.3D\gamemodes\eGamer.pwn(36327) : error 017: undefined symbol "params"
D:\Power 0.3D\gamemodes\eGamer.pwn(36339) : warning 225: unreachable code
D:\Power 0.3D\gamemodes\eGamer.pwn(36322) : warning 203: symbol is never used: "CMD"
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
It seems, you are not using ZCMD, but what?
- Strcmp
- Dcmd
Posts: 28
Threads: 9
Joined: Nov 2010
Reputation:
0
The majority of the commands are Strcmp but i have some of Dcmd type.