• Welcome to Vice City Multiplayer.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - JayL

#1
mIRC/pawn Scripting / Model limits
March 25, 2010, 10:39:54 PM
Is there a known vehicle model limit in VC:MP R2? I have been searching and I found stuff about amount limit, but nothing about vehicle models limit.
#2
mIRC/pawn Scripting / CreateVehicle issue
January 12, 2010, 04:54:34 AM
So yeah, I just started modifying the original mode script from the pawn server, adding a vehicle creating command, but when I start the server I get this error:

Script[gamemodes/mode.amx]: Run time error 19: "File or function is not found"

This is the command:
else if (strcmp(cmd, "veh", true) == 0)
{
tmp = strtok(cmdtext, idx); tmp2 = strtok(cmdtext, idx); tmp3 = strtok(cmdtext, idx);
new carid, col1, col2;
carid = strval(tmp); col1 = strval(tmp2); col2 = strval(tmp3);
if (!strlen(tmp)) { SendClientMessage(playerid, COLOR_GREY, "Usage: veh <carid> <col1> <col2>"); }
GetPlayerPos(playerid, x, y, z);
CreateVehicle(carid, x, y+1, z, 0, col1, col2, 60000);
return 1;
  }


If I remove the CreateVehicle line, the error goes away, so CreateVehicle must be the issue. Complier points nothing wrong either.