Jump to content

Pickup


Piorun

Recommended Posts

Posted

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 )

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...