04/10/2022 10:01
Código:
CMD:specvehicle(playerid, params[])
{
new specvehicleid = strval(params);
if(IsValidVehicle(specvehicleid)) {
TogglePlayerSpectating(playerid, 1);
PlayerSpectateVehicle(playerid, specvehicleid);
gSpectateID[playerid] = specvehicleid;
gSpectateType[playerid] = ADMIN_SPEC_TYPE_VEHICLE;
}
return 1;
}