Posts: 140
Threads: 49
Joined: Jul 2008
Reputation:
0
How would I go about making a command so that when a player types /delete for example, it would delete a file with their name in script files folder named vehicles?
So basically
There is a file called First_Last.ini under Script Files / Vehicles
First_Last types /delete while connected to the server
The file First_Last.ini under Script Files / Vehicles is deleted.
Posts: 140
Threads: 49
Joined: Jul 2008
Reputation:
0
C:\Users\staples036\Downloads\RLRP V2\gamemodes\rlrp.pwn(30081) : error 017: undefined symbol "name"
C:\Users\staples036\Downloads\RLRP V2\gamemodes\rlrp.pwn(30081) : error 017: undefined symbol "name"
C:\Users\staples036\Downloads\RLRP V2\gamemodes\rlrp.pwn(30081) : error 029: invalid expression, assumed zero
Posts: 140
Threads: 49
Joined: Jul 2008
Reputation:
0
With that I get
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(395) : error 035: argument type mismatch (argument 2)
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(395) : error 035: argument type mismatch (argument 2)
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(396) : error 035: argument type mismatch (argument 1)
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(396) : error 035: argument type mismatch (argument 1)
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(397) : error 017: undefined symbol "dini_Exists"
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(399) : error 017: undefined symbol "dini_Remove"
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(394) : warning 203: symbol is never used: "file"
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(393) : warning 203: symbol is never used: "name"
Posts: 140
Threads: 49
Joined: Jul 2008
Reputation:
0
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(396) : error 017: undefined symbol "udb_encode"
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(397) : error 017: undefined symbol "dini_Exists"
C:\Users\staples036\Downloads\RLRP V2\filterscripts\cars5.pwn(399) : error 017: undefined symbol "dini_Remove"