Problem at the beginning of writing code
#2

It works!

I've tested it. Can you check again? Maybe you have misspelled game mode name.

EDIT: You don't have to use getplayername to get player's name. There is a correct way to do it.
Код HTML:
public OnPlayerSpawn(playerid)
{
    new Player_Name[MAX_PLAYER_NAME];
    GivePlayerMoney(playerid, START_MONEY);

    new string[64];
    format(string, sizeof(string), "Welcome %s, take that $500 for start!", Player_Name);
    SendClientMessage(playerid, 0xFFFF00FF, string);
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)