Guys hi i made a New Cmd !gotov For Gups
else if ( strcmp( cmd, "!gotov", true ) == 0 )
{
tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !gotov [VehicleID]" );
else if ( !IsVehicleExist( strval( tmp ) ) ) SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown Vehicle" );
else if ( !IsVehicleOwnedShared( strval( tmp ), gPlayers[ playerid ] ) ) SendClientMessage( playerid, COLOR_GREEN, "You do not have the keys for that vehicle." );
else
{
new vehicle = strval( tmp );
PutDirectlyInVehicle(playerid, strval( tmp ) );
}
return 1;
}
If u Think that i from some where so forget it i made this cmd my self if u like my cmd than thanxs