View Issue Details

IDProjectCategoryView StatusLast Update
0003361Multi Theft Auto : San AndreasScriptingpublic2008-03-12 16:45
ReporterRansomAssigned ToJax 
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

A guy on the forum discovered this:

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 )
addCommandHandler("a", fireRocket)

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change