![]() ![]() TextDrawHideForPlayer(playerid, gWelcome) Hide the textdraw when the player spawns SetPlayerFacingAngle(playerid, 358.2982) Public OnPlayerRequestClass(playerid, classid) ![]() SendClientMessageToAll(LIGHT_GREEN, string) GetPlayerName(playerid, name, sizeof(name)) įormat(string, sizeof(string), "%s has connected to the server!", name) Send a client message to all players on the current player connecting. TextDrawShowForPlayer(playerid, gWelcome) GWelcome = TextDrawCreate(320.0, 240.0, "Welcome to Uuri's Mapping Server!") Create the textdraw for welcoming the player Its works perfectly but after I press the "Spawn" button the screen flashes showing my player at the default samp coordinates(the little place with the elevators) and then spawns to the correct position. ![]() When I run my game mode the player is supposed to spawn at the coordinates given in OnPlayerSpawn. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |