Couple of errors.
#3

pawn Код:
if ( IsPlayerInDynamicCP( playerid, Challange1) )//2382 line
{
    if ( IsPlayerInDynamicCP( playerid, Challange1) )
    {
        new Moneys  = 1000 + random( 7000 ),
        Score   = 30   + random( 10   ),
        Cookies = 10   + random( 20   ),
        String[ 256 ];

        foreach(Player, i)
        {
            if ( i != playerid )
            {
                FormMessage( i, -1, ""COL_OGREEN"%s{FFFFFF} has finished The Big Jump 1 Challange, and won a prize!", PlayerName2( playerid ) );
            }
        }
        format( String, sizeof String, " ~g~ FINISHED~n~~n~~w~You finished the Big Jump Challange!~n~~n~~g~ REWARD!~n~~W~Cash:~g~~h~$%d~n~~w~Score: ~g~~h~%d~n~~w~Cookies: ~g~~h~%d",Moneys, Score, Cookies );
        Info( playerid, String,12000);
        SetPlayerScore( playerid, GetPlayerScore( playerid ) + Score );
        GivePlayerMoney( playerid, Moneys );
        {
            DestroyDynamicCP( Challange1);
        }
    }
    return 1;//2408 line
}
Reply


Messages In This Thread
Couple of errors. - by manchestera - 23.10.2011, 19:53
Re: Couple of errors. - by =WoR=Varth - 23.10.2011, 19:56
Re: Couple of errors. - by Rks25 - 23.10.2011, 20:00
Re: Couple of errors. - by manchestera - 23.10.2011, 20:08

Forum Jump:


Users browsing this thread: 2 Guest(s)