help, i am newbie
#6

Quote:
Originally Posted by Mean
Посмотреть сообщение
Dude, why do you post crap everywhere?

Anyway, to do this, put this in your register command:
pawn Код:
CMD:register( playerid, params[ ] ) {
    SetPVarInt( playerid, "FirstPlay", 1 );
    return 1;
}
And, OnPlayerSpawn
pawn Код:
public OnPlayerSpawn( playerid ) {
    if( GetPVarInt( playerid, "FirstPlay" ) == 1 ) {
        SendClientMessage( playerid, -1, "You received $1000 for your first play. " );
        GivePlayerMoney( playerid, 1000 );
    }
    return 1;
}
thanx man, u r great
Reply


Messages In This Thread
help, i am newbie - by handerson - 07.06.2011, 08:08
Re: help, i am newbie - by Max_Coldheart - 07.06.2011, 08:19
Re: help, i am newbie - by 0ne - 07.06.2011, 08:53
Re: help, i am newbie - by Namaco - 07.06.2011, 10:05
Re: help, i am newbie - by Mean - 07.06.2011, 10:14
Re: help, i am newbie - by handerson - 07.06.2011, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)