27.09.2013, 21:55
pawn Code:
native PlayAudioStreamForAll(url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0); // Streams the audio for all players
native PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0, showlink = true); // I've only added 'showlink' where you can enable/disable to show the Playing 'link'.
native AttachTextDrawToObject(objectid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ); // Attaches textdraw to any object
native SyncPlayer(playerid); // Syncs player
native SyncAll(); // Syncs everyone
native ShowPlayerDialog(playerid, dialogid, style, caption[], info[], align[], button1[], button2[]); // I've only added 'align' where we align the text to right, left and centre.
native ShowDialogToAll(dialogid, style, caption[], info[], align[], button1[], button2[]); // Show's the dialog for all
native CreateDialogSetPreviewModel(playerid, dialogid, PlayerText:text, modelindex); // Use 2D sprites in dialogs.
native CreateDialogSetPreviewRot(playerid, PlayerText:text, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fZoom); // Use 3D models in dialogs.
native CreateDialogSetPreviewVehCol(playerid, PlayerText:text, color1, color2); // changing vehicle colour of 3D preview model
native CreateMoving3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, speed = 1.0, virtualworld, testLOS); // Moving 3D Text label
native SetPlayerCheckpoint(playerid, color, Float:x, Float:y, Float:z, Float:size); // Added 'color' to use RGBA or other formats to change checkpoint colours
native SetPlayerRaceCheckpoint(playerid, type, color, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size); // Same as above
pawn Code:
4 - DIALOG_STYLE_CHATBOX // Chat box style
pawn Code:
native PlayerEmoticons(playerid, true/false); // enable emoticons for a specific player
ChatEmoticons(true/false); // use emoticons in the servers or not