Advertisement
Shiny_

Untitled

Apr 19th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 6.88 KB | None | 0 0
  1. native print(const string[]);
  2. native printf(const format[], {Float,_}:...);
  3. native format(output[], len, const format[], {Float,_}:...);
  4. native SendClientMessage(playerid, color, const message[]);
  5. native SendClientMessageToAll(color, const message[]);
  6. native SendPlayerMessageToPlayer(playerid, senderid, const message[]);
  7. native SendPlayerMessageToAll(senderid, const message[]);
  8. native SendDeathMessage(killer,killee,weapon);
  9. native GameTextForAll(const string[],time,style);
  10. native GameTextForPlayer(playerid,const string[],time,style);
  11. native SetTimer(funcname[], interval, repeating);
  12. native SetTimerEx(funcname[], interval, repeating, const format[], {Float,_}:...);
  13. native KillTimer(timerid);
  14. native GetTickCount();
  15. native GetMaxPlayers();
  16. native CallRemoteFunction(const function[], const format[], {Float,_}:...);
  17. native CallLocalFunction(const function[], const format[], {Float,_}:...);
  18. native Float:VectorSize(Float:x, Float:y, Float:z);
  19. native Float:asin(Float:value);
  20. native Float:acos(Float:value);
  21. native Float:atan(Float:value);
  22. native Float:atan2(Float:x, Float:y);
  23.  
  24. native SetGameModeText(const string[]);
  25. native SetTeamCount(count);
  26. native AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
  27. 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);
  28. native AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  29. native AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay);
  30. native AddStaticPickup(model, type, Float:X, Float:Y, Float:Z, virtualworld = 0);
  31. native CreatePickup(model, type, Float:X, Float:Y, Float:Z, virtualworld = 0);
  32. native DestroyPickup(pickup);
  33. native ShowNameTags(show);
  34. native ShowPlayerMarkers(mode);
  35. native GameModeExit();
  36. native SetWorldTime(hour);
  37. native GetWeaponName(weaponid, const weapon[], len);
  38. native EnableTirePopping(enable); // deprecated function
  39. native EnableVehicleFriendlyFire();
  40. native AllowInteriorWeapons(allow);
  41. native SetWeather(weatherid);
  42. native SetGravity(Float:gravity);
  43. native AllowAdminTeleport(allow);
  44. native SetDeathDropAmount(amount);
  45. native CreateExplosion(Float:X, Float:Y, Float:Z, type, Float:Radius);
  46. native EnableZoneNames(enable);
  47. native UsePlayerPedAnims();     // Will cause the players to use CJ running/walking animations
  48. native DisableInteriorEnterExits();  // will disable all interior enter/exits in the game.
  49. native SetNameTagDrawDistance(Float:distance); // Distance at which nametags will start rendering on the client.
  50. native DisableNameTagLOS(); // Disables the nametag Line-Of-Sight checking
  51. native LimitGlobalChatRadius(Float:chat_radius);
  52. native LimitPlayerMarkerRadius(Float:marker_radius);
  53.  
  54. native ConnectNPC(name[], script[]);
  55. native IsPlayerNPC(playerid);
  56.  
  57. native IsPlayerAdmin(playerid);
  58. native Kick(playerid);
  59. native Ban(playerid);
  60. native BanEx(playerid, const reason[]);
  61. native SendRconCommand(command[]);
  62. native GetServerVarAsString(const varname[], buffer[], len);
  63. native GetServerVarAsInt(const varname[]);
  64. native GetServerVarAsBool(const varname[]);
  65. native GetPlayerNetworkStats(playerid, retstr[], retstr_size);
  66. native GetNetworkStats(retstr[], retstr_size);
  67. native GetPlayerVersion(playerid, const version[], len); // Returns the SA-MP client revision as reported by the player
  68.  
  69. native GetServerTickRate();
  70. native NetStats_GetConnectedTime(playerid);
  71. native NetStats_MessagesReceived(playerid);
  72. native NetStats_BytesReceived(playerid);
  73. native NetStats_MessagesSent(playerid);
  74. native NetStats_BytesSent(playerid);
  75. native NetStats_MessagesRecvPerSecond(playerid);
  76. native Float:NetStats_PacketLossPercent(playerid);
  77. native NetStats_ConnectionStatus(playerid);
  78. native NetStats_GetIpPort(playerid, ip_port[], ip_port_len);
  79.  
  80. native Menu:CreateMenu(const title[], columns, Float:x, Float:y, Float:col1width, Float:col2width = 0.0);
  81. native DestroyMenu(Menu:menuid);
  82. native AddMenuItem(Menu:menuid, column, const menutext[]);
  83. native SetMenuColumnHeader(Menu:menuid, column, const columnheader[]);
  84. native ShowMenuForPlayer(Menu:menuid, playerid);
  85. native HideMenuForPlayer(Menu:menuid, playerid);
  86. native IsValidMenu(Menu:menuid);
  87. native DisableMenu(Menu:menuid);
  88. native DisableMenuRow(Menu:menuid, row);
  89. native Menu:GetPlayerMenu(playerid);
  90.  
  91. native Text:TextDrawCreate(Float:x, Float:y, text[]);
  92. native TextDrawDestroy(Text:text);
  93. native TextDrawLetterSize(Text:text, Float:x, Float:y);
  94. native TextDrawTextSize(Text:text, Float:x, Float:y);
  95. native TextDrawAlignment(Text:text, alignment);
  96. native TextDrawColor(Text:text, color);
  97. native TextDrawUseBox(Text:text, use);
  98. native TextDrawBoxColor(Text:text, color);
  99. native TextDrawSetShadow(Text:text, size);
  100. native TextDrawSetOutline(Text:text, size);
  101. native TextDrawBackgroundColor(Text:text, color);
  102. native TextDrawFont(Text:text, font);
  103. native TextDrawSetProportional(Text:text, set);
  104. native TextDrawSetSelectable(Text:text, set);
  105. native TextDrawShowForPlayer(playerid, Text:text);
  106. native TextDrawHideForPlayer(playerid, Text:text);
  107. native TextDrawShowForAll(Text:text);
  108. native TextDrawHideForAll(Text:text);
  109. native TextDrawSetString(Text:text, string[]);
  110. native TextDrawSetPreviewModel(Text:text, modelindex);
  111. native TextDrawSetPreviewRot(Text:text, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fZoom = 1.0);
  112. native TextDrawSetPreviewVehCol(Text:text, color1, color2);
  113.  
  114. native GangZoneCreate(Float:minx, Float:miny, Float:maxx, Float:maxy);
  115. native GangZoneDestroy(zone);
  116. native GangZoneShowForPlayer(playerid, zone, color);
  117. native GangZoneShowForAll(zone, color);
  118. native GangZoneHideForPlayer(playerid, zone);
  119. native GangZoneHideForAll(zone);
  120. native GangZoneFlashForPlayer(playerid, zone, flashcolor);
  121. native GangZoneFlashForAll(zone, flashcolor);
  122. native GangZoneStopFlashForPlayer(playerid, zone);
  123. native GangZoneStopFlashForAll(zone);
  124.  
  125. // Global 3D Text Labels
  126. native Text3D:Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS=0);
  127. native Delete3DTextLabel(Text3D:id);
  128. native Attach3DTextLabelToPlayer(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ);
  129. native Attach3DTextLabelToVehicle(Text3D:id, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ);
  130. native Update3DTextLabelText(Text3D:id, color, text[]);
  131.  
  132. // Per-player 3D Text Labels
  133. native PlayerText3D:CreatePlayer3DTextLabel(playerid, text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, attachedplayer=INVALID_PLAYER_ID, attachedvehicle=INVALID_VEHICLE_ID, testLOS=0);
  134. native DeletePlayer3DTextLabel(playerid, PlayerText3D:id);
  135. native UpdatePlayer3DTextLabelText(playerid, PlayerText3D:id, color, text[]);
  136.  
  137. native ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement