Old 03-29-2009   #1
Ghost Dog 13
Registered User
 
Join Date: Mar 2009
Posts: 8
Ghost Dog 13 is an unknown quantity at this point
Spawn System?

Hey Guys...

Can somebody experienced in LUA make a command "/spawn ID" ??? not name... just ID of car...
Ghost Dog 13 is offline   Reply With Quote
Old 03-29-2009   #2
[LCK]G0LdzEr0
Registered User
 
Join Date: Mar 2009
Location: Poland, Częstochowa
Posts: 13
[LCK]G0LdzEr0 is an unknown quantity at this point
Script by Relax:

Code:
function Vehc(PlayerID,vehid)
local X, Y, Z = getPlayerPos(PlayerID)
carid = strval(vehid)
if carid == nil then outputChatBox(PlayerID,">> Syntax: /veh ",255,0,0,255) return end
if carid > 129 and carid < 235 then
createVehicle(carid,X,Y,Z,180.0,-1,-1)
setPlayerPos(PlayerID,X, Y, Z+1);
else outputChatBox(PlayerID,"/veh 130 - 235 only!.",255,0,0,255) return end
end
addCommand("veh","Vehc")
[LCK]G0LdzEr0 is offline   Reply With Quote
Old 03-29-2009   #3
Ghost Dog 13
Registered User
 
Join Date: Mar 2009
Posts: 8
Ghost Dog 13 is an unknown quantity at this point
Thanks Mate
Ghost Dog 13 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -6. The time now is 01:43 AM.