Piorun Posted June 29, 2010 Share Posted June 29, 2010 Hey. My problem is : When I create an info pickup then i'm getting a weapon. Here a code: function systemBiznesow ( thePlayer, commandName, typ ) if (typ == "stworz") then x, y, z = getElementPosition ( thePlayer ) createPickup ( x, y, z, 3, 1239 ) end end addCommandHandler ( "biznes", systemBiznesow ) Link to comment
50p Posted June 29, 2010 Share Posted June 29, 2010 You must have different script that gives you weapon or MTA treats 1239 as weapon because this model ID is not listed on the wiki. Link to comment
Piorun Posted June 29, 2010 Author Share Posted June 29, 2010 No I don't have a script, but I'll try to change ID of pickup. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now