Posts: 1,241
Threads: 304
Joined: May 2012
Reputation:
0
Anyone know a filterscript that have vehicle ingame creator? a command like /createveh <id> place it somewhere. or something like that and easy to use. I search around the forum but i only found ingame object editor but they dont have vehicle editor on it.
Posts: 738
Threads: 13
Joined: Mar 2012
Reputation:
0
Maybe if you go in Debug mode, and type /vsel you can get vehicles
Posts: 7
Threads: 0
Joined: Oct 2011
Reputation:
0
new cmd[256];
new idx;
cmd = strtok(cmdtext, idx);
if (strcmp("/car", cmdtext, true, 4) == 0)
{
if(!IsPlayerAdmin(playerid)) return 0;
if(!cmdtext[4])return SendClientMessage(playerid, 0xFF0000FF, "/car id");
new tmp[30];
tmp = strtok(cmdtext, idx);
new car = strval(tmp);
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid,x,y,z);
CreateVehicle(car, x+1, y, z+1, 1, 0, 0, 600);
return 1;
}