Where?
#1

Hi

pawn Код:
//set player stats
            PlayerInfo[playerid][pLevel] = 5;
            GivePlayerCash(playerid, 400000);
with this all the player on registration will have 5 level and 400k but i dont know where to put it ?
Reply
#2

You can do this:
pawn Код:
OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][pLevel] == 0)PlayerInfo[playerid][pLevel] = 5,GivePlayerCash(playerid, 400000);
//rest of the code :D
Reply
#3

Sigh. Just put it where the registration code is. If a message appear in-game like 'you are now registered' Ctrl+F for that in the pawn code and put it around there somewhere.
Reply
#4

thanks !!111
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)