Two problems
#1

First here is the first code
PHP код:
else if(pickupid == mafia || pickupid == bikers || pickupid == grove || pickupid == ballas || pickupid == rifas || pickupid == tirads)
{
    if(
PlayerInfo[playerid][pGang] > 0)
    {
    
SendClientMessage(playeridCOLOR_RED"You are already belong to a gang");
    }
    else
    {
    
TextDrawShowForPlayer(playeridText:Textdraw0);
    
TextDrawShowForPlayer(playeridText:Textdraw1);
    }

it work but it send fo me the client message and doesn't stop sending it


the other problem as you saw up when the player enter pickup it show to him a text draw
and the other code
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
 if (
newkeys KEY_WALK)
 {
    if(
IsPlayerInRangeOfPoint(playerid22176.2573,1663.2335,10.8203))
    {
    if(
PlayerInfo[playerid][pGang] == 0)
    {
    
SendClientMessage(playeridCOLOR_BLUE"Now, You are part from Mafia Gang");
    
PlayerInfo[playerid][pGang] = 1;
    
TextDrawHideForPlayer(playeridText:Textdraw0);
    
TextDrawHideForPlayer(playeridText:Textdraw1);
    }
    else
    {
    
SendClientMessage(playeridCOLOR_RED"You are already belong to a gang");
    }
 }
}
return 
1;

But when i click lalt i make me from the gang and send for me a message but doesn't hide the text draw.
Please help !
Reply


Messages In This Thread
Two problems - by nezo2001 - 06.01.2015, 19:12
Re: Two problems - by nezo2001 - 06.01.2015, 19:48
Re: Two problems - by Schneider - 06.01.2015, 19:51
Re: Two problems - by nezo2001 - 06.01.2015, 20:06
Re: Two problems - by danish007 - 06.01.2015, 20:46
Re: Two problems - by Rufio - 06.01.2015, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)