mercredi 22 juillet 2015

[Pedido] Random Coisas

Como Eu Posso Fazer Assim , Quando a Pessoa Mata a Outra TEM Chance de Ganhar 10/20/30/40 de Score Aleatorio Alguem Pode me Ajudar?


What's wrong ???

Code:

new const fRanks[][] =
{
    { "", "", "", "", "", "", "" }, // Civilian
        { "", "Cadet", "Officer", "Sergeant", "Lieutenant", "Captain", "Chief" }, // Police Departament
        { "", "Professional Staff", "Special Agent", "Special Agent in Charge", "Assistant of Director", "Vice-Director", "Director" }, // Federal Bureau Of Investigation
        { "", "Private", "Sergeant", "Major", "Captain", "Lieutenant", "General" }, // National Guard
        { "", "Assistant", "Assistant In Charge", "Medic", "Paramedic", "Special Medic", "Chief Medic" }, // Medics/Fireman Departament
        { "", "Intern", "Local Reporter", "Network Editor", "Network Anchor", "Journalist", "Network Producer" }, // News Reporters
        { "", "Trainee", "Taxi Rookie", "Cabbie", "Despatcher", "Shift Supervisor", "Taxi Company Owner" }, // Taxi Cab Company
        { "", "OutSider", "Soulja", "Gangsta", "Original Gangsta", "Double OG", "Grove King" }, // Grove Street Family
        { "", "OutSider", "YoungBlood", "Gangsta", "Original Gangsta", "Double OG", "Balla' GodFather" }, // Ballas Gang
        { "", "Cabron", "Vago", "Soldado", "Mafioso", "Derecha Mano", "Senior" }, // Los Santos Vagos
        { "", "Cabron", "Vago", "Soldado", "Mafioso", "Derecha Mano", "Senior" }, // Varrios Los Aztecas
        { "", "Soldado", "Caporale", "Sergente", "Luogotenente", "Colonnello", "Padrino" }, // La Cosa Nostra
        { "", "Recuit", "Corporal", "Colonel", "Brigadier", "General", "WarLord" }, // Yakuza
        { "", "Junior", "Drifter", "Legal Racer", "Event Maker", "Ilegal Racer", "Most Wanted" }, // For More Adrenaline
        { "", "Lancer", "Marksman", "Agent", "Special Agent", "Vice-Director", "Director" } // Hitman Agency
};

What's wrong there .. When i set that in 1 message shown just "der" or "er" or that kind of texts...

Code:

new String[128];
format(String, sizeof(String), "Your rank it's %s !", fRanks[7][6]);
SendClientMessage(playerid, -1, String);

That's just an exemple ... But if i put that anywhere the text will appear "Your rank it's der !" or something like this ..


Question regarding columns

Hello there. I've a question regarding a column's type; Is there a type which you can insert as much data in it? To explain it briefly I want to insert data that I am not aware how much will it be. Example that I want to insert a string of 124 cells now, and then insert two strings with 124 cells too. And I want to keep all three of them. Just like a file that I would insert as much as I want in it or is that not possible. Or should I use a file-write/read for this instead?


Thanks in advance!


Ideal Web Design Company

What makes a Web Design Company unique? It is the strategy it opts for and the people it has for creating amazing digital designs that has an impact on the viewers. Web designing is an art that requires a great deal of skill and expertise. It is the interplay of digital designs on a webpage to present information in a creative way. The web page has two basic aspects, one comprising of designs that the user interacts with and another one is the backend that includes information for the browsers.
The popular technologies used for creating an amazing webpage are HTML and XHTML. The backend interface is created using technologies like ASP, PHP and ColdFusion. There are other technologies as well that make the webpage come alive. Some of these include Macromedia Flash and other embedded technologies. These languages can be used to design a web or web pages in limitless ways. It allows for versatility and dynamism that goes beyond the imagination of a web user. It has become urgent for all organizations, big and small to create websites of their own, where their users can find information about them and also interact with them. Web has certainly become the easiest way of broadcasting information and content about oneself and also a great means of advertising. Searching for an ideal web design company that suits the distinct interests of the customers as well as the end-users has become crucial. More so with the number of web design companies that have sprung up across the world. Selecting the best one entails a good amount of research on what they have to offer, their skill set, uniqueness and how technology savvy they are. Also the ability to create interactive designs with precision that calls for experienced personnel. Organizations, by and large, are going for companies who are in the business for quite long.


Crash report

SA-MP 0.3.7
Exception At Address: 0x00523E6B
Base: 0x043D0000

Registers:
EAX: 0x00000000 EBX: 0x00B6F258 ECX: 0x09754084 EDX: 0x00003F80
ESI: 0x00B6F248 EDI: 0x00B6F19C EBP: 0x087D2D84 ESP: 0x0028FB60
EFLAGS: 0x00210246

Stack:
+0000: 0x00B6F19C 0x00B74200 0x00B74240 0x00B6F3B8
+0010: 0x3E0F5C29 0x3B9687C2 0xBD8E57FD 0x40600000
+0020: 0x408C56D7 0x00000000 0x3D4CCCCE 0x00B73458
+0030: 0x00000000 0x3D95C5C0 0xBCE56041 0x3C32B5A0
+0040: 0x40800000 0x00000000 0x00000000 0x3F490FDB
+0050: 0x3FBDE44F 0x00000000 0x4000CD5B 0xC1E89BDD
+0060: 0x427844A7 0x406DE666 0x421A35BA 0x42DCDC32
+0070: 0xC012053C 0x00000000 0x00000000 0x00000000
+0080: 0x00000000 0x43520000 0x43420000 0x00527A0E
+0090: 0x0028FC24 0x404DBE09 0x00000000 0x00000000
+00A0: 0x00000000 0x00000000 0x00000000 0x00B6F980
+00B0: 0x00B6F028 0x00000000 0x404DBE09 0x00000000
+00C0: 0x000000EC 0xC1E89BDD 0x427844A7 0x40478000
+00D0: 0xC1E89BDD 0x427844A7 0x40478000 0x00000000
+00E0: 0x00000000 0x00000000 0x432A0000 0x43700000
+00F0: 0x428C0000 0x42F20000 0x42F00000 0x437E0000
+0100: 0x00000004 0x42B00000 0x41A80000 0x437E0000
+0110: 0x42B00000 0x3F7FF972 0x01595CDC 0x007EE1F5
+0120: 0x015935AC 0x00B6F028 0x0052B8F2 0x3EA8B993
+0130: 0x0052B90F 0x9E5C22EB 0x000000A9 0x0028FD8C
+0140: 0x00000001 0xC53B8000 0x00CD003F 0x003E00FF
+0150: 0x3F9E11A0 0x008000FF 0x00FF0000 0x00000080
+0160: 0x41B00000 0x41200000 0x00000000 0x000000D3
+0170: 0xC53B0095 0x44480000 0x42C80000 0x000000A9
+0180: 0x00000000 0x009F0028 0x0000000A 0x00000000
+0190: 0x00441C1F 0x0028FD08 0xFFFFFFFF 0x42680000
+01A0: 0x0028FD8C 0xC1E89BDD 0xC1E89BDD 0x427844A7
+01B0: 0x40478000 0x00610B78 0x0000000A 0x00000000
+01C0: 0x0446D98C 0x9E5C22EB 0x000000A9 0x0028FD8C
+01D0: 0x0028FD44 0x00000001 0x00000000 0x00B6F028
+01E0: 0x00000001 0x0053C109 0x0000001A 0xFFFFFFFF
+01F0: 0x00000000 0x9E6F83EA 0x04434436 0xFFFFFFFF
+0200: 0x0446DAAE 0x0000001A 0x9E5B3974 0x00000000
+0210: 0x0C284BE8 0x0028FD64 0x0028F59C 0x0028FF70
+0220: 0x04485D64 0x044AA678 0x00000002 0x76EB9F10
+0230: 0x0053E986 0x00000001 0x008241AF 0x004D9486
+0240: 0x0053ECC2 0x00000001 0x00619B71 0x0000001A
+0250: 0x00000001 0x00000001 0x0000000A 0x00748DA0
+0260: 0x0000001A 0x00000001 0x771A8F60 0x00000000
+0270: 0x0028FF80 0x7FFDE000 0x01828CBE 0x4F1E5B1C

SCM Op: 0x685, lDbg: 0 LastRendObj: 19480

Game Version: US 1.0

State Information: Ped Context: 13
P0 (32,0) P1 (0,0) P2 (0,0) P3 (0,0)
P4 (0,0) P5 (17,0) P7 (32,0)
P8 (0,0) P9 (0,0) P10 (0,0) P11 (0,0)
P12 (0,0) P13 (32,0) P14 (19,808) P15 (0,0)
P16 (0,0) P17 (0,0) P18 (0,0) P19 (0,0)
P20 (17,0) P21 (0,0) P22 (0,0) P23 (0,0)
P24 (0,0) P25 (0,0) P26 (0,0) P27 (0,0)
P28 (0,0) P29 (0,0) P30 (0,0) P31 (0,0)
P32 (0,0) P33 (32,0) P34 (0,0) P35 (0,0)
P36 (0,0) P37 (19,829) P38 (0,0) P39 (0,0)
P40 (0,0) P41 (19,750) P42 (32,0) P43 (0,0)
P44 (0,0) P45 (33,0) P46 (0,0) P47 (0,0)
P48 (17,0) P49 (0,0) P50 (17,0) P51 (0,0)
P52 (0,0) P53 (0,0) P54 (0,0) P55 (0,0)
P56 (0,0) P57 (0,0) P58 (0,0) P59 (0,0)
P60 (17,0) P61 (0,0) P62 (0,0) P63 (0,0)
P64 (0,0) P65 (32,0) P66 (0,0) P67 (32,0)
P68 (0,0) P69 (0,0) P70 (0,0) P71 (0,0)
P72 (0,0) P73 (0,0) P74 (17,0) P75 (0,0)
P76 (0,0) P77 (0,0) P78 (17,0) P79 (19,565)
P80 (0,0) P81 (0,0) P82 (0,0) P83 (0,0)
P84 (0,0) P85 (0,0) P86 (0,0) P87 (0,0)
P88 (0,0) P89 (0,0) P91 (0,0)
P92 (0,0) P93 (0,0) P94 (32,0) P95 (0,0)
P96 (0,0) P97 (0,0) P98 (17,0) P99 (0,0)
P100 (0,0) P101 (32,0) P102 (0,0) P103 (0,0)
P104 (0,0) P105 (0,0) P106 (19,543) P107 (0,0)
P108 (0,0) P109 (0,0) P110 (0,0) P111 (0,0)
P112 (0,0) P114 (0,0) P115 (0,0)
P116 (0,0) P117 (32,0) P118 (0,0) P119 (19,492)
P120 (0,0) P121 (32,0) P122 (0,0) P123 (0,0)
P124 (32,0) P127 (0,0)
P128 (32,0) P129 (0,0) P130 (17,536) P131 (32,0)
P132 (32,0) P133 (0,0) P134 (0,0) P135 (0,0)
P136 (0,0) P137 (0,0)

The game is clear , without any mods

The crash happened when I tried to enter a car
And it causes regularly

How to solve this problem?


mardi 21 juillet 2015

SetObjectMaterial/SetPlayerObjectMaterial

Hello everyone.

I see that
Code:

SetPlayerObjectMaterial(playerid, objectid, materialindex, modelid, txdname[], texturename[], materialcolor)
if materialindex > 15 then client crash.
But some objects has more than 15 index materials.
:S
Like
Code:

ID: 982
Name: fenceshit
Category: Fences, Walls, Gates, and Barriers

I really really look forward to limit increase.
Pls :D


Top score sqlite

Lo que quiero hacer es hacer un top de scores entre todos los usuarios registrados, pero lo que no quiero es que muestren a los administradores... el comando y eso de el top lo tengo echo pero quiero que seleccione a los que no son admin...
el comando lo hice así:
Code:

SELECT `nombre` FROM `USUARIOS` ORDER BY (`score` * 1) DESC limit 10
funciona bien pero quiero que me ayuden a lo que dije arriba,,, muchas gracias!