Hi need help
#7

Why do you want to jail players if they enter Ammu-nation.. anyhow..

You could make a single pickup, and for that ID on pickup, set their X,Y,Z in the jail cell.

pawn Код:
public OnFilterScriptInit() // Or Game mode if it makes you feel better.. depending on what you use it in
{
    ammunation = CreatePickup(model, type, X,Y,Z, virtual world); // Location of the pickup
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == ammunation) SetPlayerPos(playerid,X,Y,Z);
    return 1;
}
Reply


Messages In This Thread
Hi need help - by mathiashhg - 14.10.2010, 19:03
Re: Hi need help - by mrmuffins - 14.10.2010, 19:50
Re: Hi need help - by mathiashhg - 14.10.2010, 19:55
Re: Hi need help - by mrmuffins - 14.10.2010, 19:57
Re: Hi need help - by mathiashhg - 14.10.2010, 20:55
Re: Hi need help - by mathiashhg - 14.10.2010, 21:16
Re: Hi need help - by iFriSki - 14.10.2010, 21:20
Re: Hi need help - by mathiashhg - 14.10.2010, 21:21
Re: Hi need help - by Kitten - 15.10.2010, 02:50
Re: Hi need help - by mathiashhg - 15.10.2010, 05:26

Forum Jump:


Users browsing this thread: 1 Guest(s)