respawn 1 vehicle
#3

You Need sscanf.
PHP код:
CMD:svplayeridparams[ ] )
{
    static
        
vehID
    
;
    if ( 
sscanfparams"i",  vehID ) )
        return 
SendClientMessageplayeridCOLOR_RED"SYNTAX: /sv < vehID >" );
    if ( 
vehID == INVALID_VEHICLE_ID )
        return 
SendClientMessageplayeridCOLOR_RED"ERROR: Invalid vehicle ID." );
    
SetVehicleToRespawnvehID );
    
SendClientMessageplayeridCOLOR_RED"Vehicle has been respawned succesfully." );
    return 
1;

Reply


Messages In This Thread
respawn 1 vehicle - by Stu1 - 24.10.2012, 22:08
Re: respawn 1 vehicle - by PaulDinam - 24.10.2012, 22:14
Re: respawn 1 vehicle - by ThePhenix - 24.10.2012, 22:16
Re: respawn 1 vehicle - by KevinPRINCE - 24.10.2012, 22:27
Re: respawn 1 vehicle - by Stu1 - 24.10.2012, 22:27
Re: respawn 1 vehicle - by KevinPRINCE - 24.10.2012, 22:29
Re: respawn 1 vehicle - by Stu1 - 24.10.2012, 22:31
Re: respawn 1 vehicle - by KevinPRINCE - 24.10.2012, 22:34
Re: respawn 1 vehicle - by Stu1 - 24.10.2012, 22:37
Re: respawn 1 vehicle - by KevinPRINCE - 24.10.2012, 22:44

Forum Jump:


Users browsing this thread: 4 Guest(s)