Error Help +Rep
#1

This error


And here this code
Reply
#2

Remove the "const" from name parameter.
Reply
#3

But line 38 still warning
Reply
#4

Remove line 38 and line 33, you don't need them or even use them.
Reply
#5

It not working, But thank for help me
That script i want from http://pastebin.com/AE78GVBK
here

Im only need when player connect to my server if he name frank server will change to Frank,
But that script not work can someone help me ?
Reply
#6

pawn Код:
public OnPlayerConnect(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof name);
    name[0] = toupper(name[0]);  // Character 0 is the first letter in the text (name) , so it will be now in any case: Jack, Frank, Samy
    SetPlayerName(playerid, name);
    return 1;
}
Reply
#7

Thank you, But it not working
Reply


Forum Jump:


Users browsing this thread: