Symble Never Used: Vspawn -
Azzeto - 14.11.2011
Heres the CMD
PHP код:
CMD:vspawn(playerid,params[])
{
new veh,Float:x,Float:y,Float:z;
if(sscanf(params,"d",veh)) return SendClientMessage(playerid,COLOR_GRAY,"Format: /vspawn [vehid]");
else if(veh < 400 || veh > 611) return SendClientMessage(playerid,COLOR_WHITE,"SERVER: Vehicle ID's range from 400-611.");
else
{
GetPlayerPos(playerid,x,y,z);
CreateVehicle(veh,x,y,z,0,0,0,-1);
SendClientMessage(playerid,COLOR_WHITE,"Vehicle Spawned.");
}
return 1;
}
and it says its on Line 336 but there isnt any line 366 please help?
Also how would I make it so it sets the player into the vehicle?
Re: Symble Never Used: Vspawn -
ivanVU - 14.11.2011
try like this
Re: Symble Never Used: Vspawn -
Kingunit - 14.11.2011
CTRL + F and search the keyword.
Re: Symble Never Used: Vspawn -
Azzeto - 14.11.2011
I'v searched Vspawn and its only used on CMD:vspawn(playerid,params[])
Re: Symble Never Used: Vspawn -
Kostas' - 14.11.2011
I have an almost same problem. I have remove the /carcolor command from the gamemode and if I type in-game /carcolor, it appears * Usage: /carcolor [color1] [color2]
Re: Symble Never Used: Vspawn -
Camacorn - 14.11.2011
Try searching for 'new vspawn;', you might also want to try and copy your pawn code into notepad, and redo the search, that way you can see everything with vspawn in it.
Re: Symble Never Used: Vspawn -
ivanVU - 14.11.2011
does your gamemode has only 335 lines?
Re: Symble Never Used: Vspawn -
Kostas' - 14.11.2011
I think it like
that never used and appears error at the last line of the gamemode
Re: Symble Never Used: Vspawn -
Camacorn - 14.11.2011
Quote:
Originally Posted by Kostas'
I have an almost same problem. I have remove the /carcolor command from the gamemode and if I type in-game /carcolor, it appears * Usage: /carcolor [color1] [color2]
|
Did you re-compile and restart the server?
Re: Symble Never Used: Vspawn -
Azzeto - 14.11.2011
No, I literally just started a new freeroam ( Got bored with my Team deathmatch ) and I just made the /vspawn so I can get around easy and I have no new vspawn; all I wrote in the gamemode was the registration system and the command CMD:vspawn