Posts: 7
Threads: 0
Joined: Oct 2017
Reputation:
0
The code is clean and should work
Posts: 16
Threads: 3
Joined: Oct 2017
Reputation:
0
I have correct gamemod in cfg, what else could be wrong? :/ Code works only on server console but not in game.
Posts: 311
Threads: 27
Joined: May 2016
Reputation:
0
Um a bit weird question but have you compiled your gamemode?
Posts: 578
Threads: 40
Joined: Dec 2016
Quote:
Originally Posted by Fratello
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;
}
|
Are you stupid or just stupid?