11.12.2011, 16:04
Hi!
I'm trying to make interiors to my server but I just get error messages so could u show me
how it should look like?... (I'm a begginer with scripting pawno)
So I can't fix all of the error messages but some.
Here is the code:
I'm trying to make interiors to my server but I just get error messages so could u show me
how it should look like?... (I'm a begginer with scripting pawno)
So I can't fix all of the error messages but some.
Here is the code:
pawn Код:
//Creating the arrow
new pickupname;
public OnGameModeInit()
{
pickupname = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
//Arrow = 1318
//Type
// 23 Pickupable, but doesn't disappear on pickup.
// 2 Pickupable, respawns after some time.
}
public OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == pickupname)
{
//Your function
}
}
Код:
Thanks alot for help! :)