Horner 13 Posted May 11, 2011 (edited) Okay I have a question. Okay I have a script where i can go to different shops and buy things but I need to know how to script when i buy a skoda how to make it spawn on a marker i placed? Seems so simple yet I just dont know how this is a script i have for an m9 i want something basically the same as this if possible if (money < 115) then { player1 groupChat format ["You can not afford this item. You only have $%1", (money)]; } else { money = money - 115; player1 addWeapon "M9SD"; player1 groupChat format ["you bought a M9 Silenced and have $%1 remaining", (money)]; }; Ok i have a good script but it isnt working dang. Edited May 11, 2011 by Horner Share this post Link to post Share on other sites
twirly 11 Posted May 11, 2011 If the marker is named "mkr_spawnhere" then the code should be.... _car = "Skoda" [url="http://community.bistudio.com/wiki/createVehicle"]createVehicle[/url] (getMarkerPos "mkr_spawnhere"); Share this post Link to post Share on other sites
Horner 13 Posted May 11, 2011 yeah dude, I had like exactly this, but ill try that tomorrow morning, been scripting all night thanks though I had something different that i thought would work Share this post Link to post Share on other sites