23.05.2011, 03:51
Well, I'm new to dcmd and a beginner with Pawno. I know the basics and what not but right now I'm just trying to script random things to get a bit better at it.
Right now I'm trying to script a command that works like this. If a player types /vspawn [Vehicle ID], the vehicle id they typed after the command will spawn for them. Really, I don't even know where to start on it. I'm using dcmd, which I know the basics of it and how it works but I don't know what to do for the vehicle ID part. I have no clue at all for if the player types /vspawn and a random ID, how to get that vehicle id and spawn it. Any help would be greatly appreciated.
Right now I'm trying to script a command that works like this. If a player types /vspawn [Vehicle ID], the vehicle id they typed after the command will spawn for them. Really, I don't even know where to start on it. I'm using dcmd, which I know the basics of it and how it works but I don't know what to do for the vehicle ID part. I have no clue at all for if the player types /vspawn and a random ID, how to get that vehicle id and spawn it. Any help would be greatly appreciated.