Help PLEASE!
#1

hello i have a problem i cannot seem to get the person to spawn with guns
my code is

i am sorry if i posted this in the wrong place...

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == 1)
	{
        if(listitem == 0)
        {
        SetPlayerSkin(playerid, 112);
        SetPlayerPos(playerid,1918.3838,-2255.6760,13.5469);
        GivePlayerWeapon(playerid,352,500);
        GivePlayerWeapon(playerid,355,500);
        GivePlayerWeapon(playerid,358,500);
	}
	if(listitem == 1)
	{
	SetPlayerSkin(playerid, 1);
	SetPlayerPos(playerid,1989.7607,-2604.9336,18.6034);
        GivePlayerWeapon(playerid,352,500);
        GivePlayerWeapon(playerid,355,500);
        GivePlayerWeapon(playerid,358,500);
	}
	if(listitem == 2)
	{
	Kick(playerid);
	}
	}
	return 1;
}
that code is the only code i could get to compile if i did
Код:
........
        if(listitem == 2)
	{
	Kick(playerid);
	}
	}
        }
        }
	return 1;
}
it came up with errors about closing braces

thanks in advance, Jaydon
Reply


Messages In This Thread
Help PLEASE! - by jaydon - 19.01.2011, 10:03
Re: Help PLEASE! - by HyperZ - 19.01.2011, 10:14
Re: Help PLEASE! - by jaydon - 19.01.2011, 10:15
Re: Help PLEASE! - by HyperZ - 19.01.2011, 10:23
Re: Help PLEASE! - by jaydon - 19.01.2011, 10:25

Forum Jump:


Users browsing this thread: 2 Guest(s)