View Issue Details

IDProjectCategoryView StatusLast Update
0003361Multi Theft Auto : San AndreasScriptingpublic2008-03-12 16:45
ReporterRansomAssigned ToJax 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Versionmtasadm_v1.0-dp2 
Target VersionFixed in Version1.0 
Summary0003361: createProjectile constantly shoots rockets when player (the creator arg) is in a vehicle with a passenger
Description

A guy on the forum discovered this: http://forum.mtasa.com/viewtopic.php?f=91&t=22268

Works on the most recent dp3 build.

Clientside script used is below:

Additional Information

function fireRocket(cmd)
local vehicle = getPlayerOccupiedVehicle(getLocalPlayer())
local driver = getVehicleOccupant ( vehicle, 0 )
if (driver == getLocalPlayer()) then
local sX, sY, sZ = getElementPosition ( vehicle )
createProjectile ( getLocalPlayer(), 19, sX + 10, sY + 10, sZ + 3, 1.0 )
end
end
addCommandHandler("a", fireRocket)

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change