Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- native print(const string[]);
- native printf(const format[], {Float,_}:...);
- native format(output[], len, const format[], {Float,_}:...);
- native SendClientMessage(playerid, color, const message[]);
- native SendClientMessageToAll(color, const message[]);
- native SendPlayerMessageToPlayer(playerid, senderid, const message[]);
- native SendPlayerMessageToAll(senderid, const message[]);
- native SendDeathMessage(killer,killee,weapon);
- native GameTextForAll(const string[],time,style);
- native GameTextForPlayer(playerid,const string[],time,style);
- native SetTimer(funcname[], interval, repeating);
- native SetTimerEx(funcname[], interval, repeating, const format[], {Float,_}:...);
- native KillTimer(timerid);
- native GetTickCount();
- native GetMaxPlayers();
- native CallRemoteFunction(const function[], const format[], {Float,_}:...);
- native CallLocalFunction(const function[], const format[], {Float,_}:...);
- native Float:VectorSize(Float:x, Float:y, Float:z);
- native Float:asin(Float:value);
- native Float:acos(Float:value);
- native Float:atan(Float:value);
- native Float:atan2(Float:x, Float:y);
- native SetGameModeText(const string[]);
- native SetTeamCount(count);
- native AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
- native AddPlayerClassEx(teamid, modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
- native AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
- native AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay);
- native AddStaticPickup(model, type, Float:X, Float:Y, Float:Z, virtualworld = 0);
- native CreatePickup(model, type, Float:X, Float:Y, Float:Z, virtualworld = 0);
- native DestroyPickup(pickup);
- native ShowNameTags(show);
- native ShowPlayerMarkers(mode);
- native GameModeExit();
- native SetWorldTime(hour);
- native GetWeaponName(weaponid, const weapon[], len);
- native EnableTirePopping(enable); // deprecated function
- native EnableVehicleFriendlyFire();
- native AllowInteriorWeapons(allow);
- native SetWeather(weatherid);
- native SetGravity(Float:gravity);
- native AllowAdminTeleport(allow);
- native SetDeathDropAmount(amount);
- native CreateExplosion(Float:X, Float:Y, Float:Z, type, Float:Radius);
- native EnableZoneNames(enable);
- native UsePlayerPedAnims(); // Will cause the players to use CJ running/walking animations
- native DisableInteriorEnterExits(); // will disable all interior enter/exits in the game.
- native SetNameTagDrawDistance(Float:distance); // Distance at which nametags will start rendering on the client.
- native DisableNameTagLOS(); // Disables the nametag Line-Of-Sight checking
- native LimitGlobalChatRadius(Float:chat_radius);
- native LimitPlayerMarkerRadius(Float:marker_radius);
- native ConnectNPC(name[], script[]);
- native IsPlayerNPC(playerid);
- native IsPlayerAdmin(playerid);
- native Kick(playerid);
- native Ban(playerid);
- native BanEx(playerid, const reason[]);
- native SendRconCommand(command[]);
- native GetServerVarAsString(const varname[], buffer[], len);
- native GetServerVarAsInt(const varname[]);
- native GetServerVarAsBool(const varname[]);
- native GetPlayerNetworkStats(playerid, retstr[], retstr_size);
- native GetNetworkStats(retstr[], retstr_size);
- native GetPlayerVersion(playerid, const version[], len); // Returns the SA-MP client revision as reported by the player
- native GetServerTickRate();
- native NetStats_GetConnectedTime(playerid);
- native NetStats_MessagesReceived(playerid);
- native NetStats_BytesReceived(playerid);
- native NetStats_MessagesSent(playerid);
- native NetStats_BytesSent(playerid);
- native NetStats_MessagesRecvPerSecond(playerid);
- native Float:NetStats_PacketLossPercent(playerid);
- native NetStats_ConnectionStatus(playerid);
- native NetStats_GetIpPort(playerid, ip_port[], ip_port_len);
- native Menu:CreateMenu(const title[], columns, Float:x, Float:y, Float:col1width, Float:col2width = 0.0);
- native DestroyMenu(Menu:menuid);
- native AddMenuItem(Menu:menuid, column, const menutext[]);
- native SetMenuColumnHeader(Menu:menuid, column, const columnheader[]);
- native ShowMenuForPlayer(Menu:menuid, playerid);
- native HideMenuForPlayer(Menu:menuid, playerid);
- native IsValidMenu(Menu:menuid);
- native DisableMenu(Menu:menuid);
- native DisableMenuRow(Menu:menuid, row);
- native Menu:GetPlayerMenu(playerid);
- native Text:TextDrawCreate(Float:x, Float:y, text[]);
- native TextDrawDestroy(Text:text);
- native TextDrawLetterSize(Text:text, Float:x, Float:y);
- native TextDrawTextSize(Text:text, Float:x, Float:y);
- native TextDrawAlignment(Text:text, alignment);
- native TextDrawColor(Text:text, color);
- native TextDrawUseBox(Text:text, use);
- native TextDrawBoxColor(Text:text, color);
- native TextDrawSetShadow(Text:text, size);
- native TextDrawSetOutline(Text:text, size);
- native TextDrawBackgroundColor(Text:text, color);
- native TextDrawFont(Text:text, font);
- native TextDrawSetProportional(Text:text, set);
- native TextDrawSetSelectable(Text:text, set);
- native TextDrawShowForPlayer(playerid, Text:text);
- native TextDrawHideForPlayer(playerid, Text:text);
- native TextDrawShowForAll(Text:text);
- native TextDrawHideForAll(Text:text);
- native TextDrawSetString(Text:text, string[]);
- native TextDrawSetPreviewModel(Text:text, modelindex);
- native TextDrawSetPreviewRot(Text:text, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fZoom = 1.0);
- native TextDrawSetPreviewVehCol(Text:text, color1, color2);
- native GangZoneCreate(Float:minx, Float:miny, Float:maxx, Float:maxy);
- native GangZoneDestroy(zone);
- native GangZoneShowForPlayer(playerid, zone, color);
- native GangZoneShowForAll(zone, color);
- native GangZoneHideForPlayer(playerid, zone);
- native GangZoneHideForAll(zone);
- native GangZoneFlashForPlayer(playerid, zone, flashcolor);
- native GangZoneFlashForAll(zone, flashcolor);
- native GangZoneStopFlashForPlayer(playerid, zone);
- native GangZoneStopFlashForAll(zone);
- // Global 3D Text Labels
- native Text3D:Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS=0);
- native Delete3DTextLabel(Text3D:id);
- native Attach3DTextLabelToPlayer(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ);
- native Attach3DTextLabelToVehicle(Text3D:id, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ);
- native Update3DTextLabelText(Text3D:id, color, text[]);
- // Per-player 3D Text Labels
- native PlayerText3D:CreatePlayer3DTextLabel(playerid, text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, attachedplayer=INVALID_PLAYER_ID, attachedvehicle=INVALID_VEHICLE_ID, testLOS=0);
- native DeletePlayer3DTextLabel(playerid, PlayerText3D:id);
- native UpdatePlayer3DTextLabelText(playerid, PlayerText3D:id, color, text[]);
- native ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement