05.05.2014, 09:14
here is full code onplayerconnect
text draws code
Code:
public OnPlayerConnect(playerid) { SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "Welcome to UFW Server, Enjoy your stay! "); // (the previous player may of changed it) for( new slots = GetMaxPlayers( ), i; i < slots; i ++ ) { if( IsPlayerConnected( i ) && !IsPlayerNPC( i ) ) { SpeedBoostMultiplier[ i ] = 3.0; } }
text draws code
Code:
TextDrawHideForAll(Capstext); TextDrawDestroy(Capstext); TextDrawHideForAll(Wtext); TextDrawDestroy(Wtext); TextDrawHideForAll(cartext); TextDrawDestroy(cartext); TextDrawHideForAll(tcartext); TextDrawDestroy(tcartext); TextDrawHideForAll(fliptext); TextDrawDestroy(fliptext); TextDrawHideForAll(sptext); TextDrawDestroy(sptext); TextDrawHideForAll(jumptext); TextDrawDestroy(jumptext); TextDrawHideForAll(vtext); TextDrawDestroy(vtext); TextDrawHideForAll(WelcomeText); TextDrawDestroy(WelcomeText); TextDrawHideForAll(NameText); TextDrawDestroy(NameText); } return 1;