How can i
#1

Hello, Thats my question, how can i change the lvl of a player who starts to play,..
When player done the tutorial, have lvl 10 when start to play, how can i change it!...
Help!
Reply
#2

Check the OnPlayerConnect callback and write something like this :

pawn Код:
if(GetPlayerScore(playerid) == 0)
{
    SetPlayerScore(playerid, 10);
    return 1;
}
This will check if the player has lvl 0(just joined) and it will set the player's score to 10 .
Reply
#3

I didnt found that... Help!
Reply
#4

Then search for [pLevel] pr [pScore]... are you using a gamemode from the web ?
Reply
#5

Another solution?
Reply
#6

Quote:
Originally Posted by gonzalo120
Посмотреть сообщение
Another solution?
I think he told you the solution.
Listen to what he said.
and his code is totally correct, and AS HE said, just look for your enum and find it. It could be named anything, specially if you just got one off the web.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)