Symble Never Used: Vspawn
#1

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?
Reply


Messages In This Thread
Symble Never Used: Vspawn - by Azzeto - 14.11.2011, 19:49
Re: Symble Never Used: Vspawn - by ivanVU - 14.11.2011, 19:51
Re: Symble Never Used: Vspawn - by Kingunit - 14.11.2011, 19:53
Re: Symble Never Used: Vspawn - by Azzeto - 14.11.2011, 19:54
Re: Symble Never Used: Vspawn - by Kostas' - 14.11.2011, 19:57
Re: Symble Never Used: Vspawn - by Camacorn - 14.11.2011, 19:58
Re: Symble Never Used: Vspawn - by ivanVU - 14.11.2011, 19:58
Re: Symble Never Used: Vspawn - by Kostas' - 14.11.2011, 20:01
Re: Symble Never Used: Vspawn - by Camacorn - 14.11.2011, 20:03
Re: Symble Never Used: Vspawn - by Azzeto - 14.11.2011, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)