Auto Spawn.
#8

Quote:
Originally Posted by BJaxx
Посмотреть сообщение
New question. ;]

My Pickup. I have a clothes (the little blue shirt :]) pickup next to a shed.
The pickup is supposed to put you into class selection, to pick your skin you
want to use.

I have the location and all perfectly set up. However, when I go into it, it fudges up.
Only gives me the 'SendClientMessage'
Even though it's set up as so:
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
	if(pickupid == Clothes)SendClientMessage(playerid,COLOR_YELLOW, "Pick your skin and select Spawn.");
	ForceClassSelection(playerid);
	return 1;
}
If I can, I'd like to make it so it doesn't have to kill you. I've made a /class command before that kills you, and lets you select your class. But, again, I'd like to not have to kill them, if possible.
I dont think there is a way to do it without killing you so u can do
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Clothes)SendClientMessage(playerid,COLOR_YELLOW, "Pick your skin and select Spawn.");
        SetPlayerHealth(playerid,0);
    ForceClassSelection(playerid);
    return 1;
}
EDIT: :O

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Clothes) return /* i think idk =P*/ SendClientMessage(playerid,COLOR_YELLOW, "Pick your skin and select Spawn.");
        {    
             SetPlayerHealth(playerid,0);
         ForceClassSelection(playerid);
    }
        return 1;
}
Reply


Messages In This Thread
Auto Spawn. - by BJaxx - 23.11.2010, 01:49
Re: Auto Spawn. - by [L3th4l] - 23.11.2010, 01:50
Re: Auto Spawn. - by BJaxx - 23.11.2010, 02:12
Re: Auto Spawn. - by Kitten - 23.11.2010, 02:17
Re: Auto Spawn. - by BJaxx - 23.11.2010, 02:22
Re: Auto Spawn. - by Kitten - 23.11.2010, 02:24
Re: Auto Spawn. - by BJaxx - 23.11.2010, 02:29
Re: Auto Spawn. - by Kitten - 23.11.2010, 02:31
Re: Auto Spawn. - by BJaxx - 23.11.2010, 02:32

Forum Jump:


Users browsing this thread: 1 Guest(s)