Case error and a warning
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Fix the braces! Why is it so hard to do this right the first time? You have the return in the wrong spot.
What Vince means is that:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == GolfTurf)
    {
        switch(gTeam [playerid])
        {
            case 0: SetTimer("GolfTurfT", 5000,false); //If the Clowns tries to take turf.
            case 1: SendClientMessage(playerid, Clown, "Test lol");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Case error and a warning - by davve95 - 28.03.2013, 20:18
Re: Case error and a warning - by Vince - 28.03.2013, 20:21
Re: Case error and a warning - by Konstantinos - 28.03.2013, 20:26
Re: Case error and a warning - by davve95 - 28.03.2013, 20:27
Re: Case error and a warning - by Omirrow - 28.03.2013, 20:30
Re: Case error and a warning - by davve95 - 28.03.2013, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)