1
Showroom SA:MP / Re : Re : [GM]Carson City
« le: 04 Juillet 2014, 01:38:34 »En raison de la fermeture de mon serveur,j'offre mon GM à tous ceux qui le veulent.
salut qu'elle image voit tu -_-
@Anonyme56.
Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.
En raison de la fermeture de mon serveur,j'offre mon GM à tous ceux qui le veulent.
salut qu'elle image voit tu -_-
new entier, Float:flottant, bool:boolean, tableau[10];
forward Fonction(entier, Float:flottant, bool:boolean, tableau[]);
public Fonction(entier, Float:flottant, bool:boolean, tableau[])
{
// Faire des choses random ici
}
SetTimerEx("Fonction", 1000, false, /* Le "format" des paramètres */"ifba", /* Ce à quoi ils correspondent dans le code */ entier, flottant, boolean, tableau);
stock EFIX_SetTimerEx(const funcname[35], interval, bool:repeating, format[121], {Float, _}:...)
{
for(fixi = 0; fixi < MAX_TIMERS; fixi++)
{
if(!InfoTimer[fixi][tRunning]) break;
}
static const num_args = 0;
new n = (numargs() - num_args) * BYTES_PER_CELL;
if(n == 3 * 4) SetTimer(funcname, interval, repeating);
if(n)
{
new
arg_start,
arg_end;
#emit CONST.alt 8
#emit LCTRL 5
#emit ADD
#emit STOR.S.pri arg_start
#emit LOAD.S.alt n
#emit ADD
#emit STOR.S.pri arg_end
do
{
#emit LOAD.I
#emit PUSH.pri
arg_end -= BYTES_PER_CELL;
#emit LOAD.S.pri arg_end
}
while (arg_end > arg_start);
#emit PUSH.S funcname
#emit PUSH.S interval
#emit PUSH.S repeating
#emit PUSH.S format
n += BYTES_PER_CELL * STATIC_ARGS;
#emit PUSH.S n
#emit SYSREQ.C
ClearStack(n);
}
return 1;
}
stock ClearStack(var)
{
var += BYTES_PER_CELL;
#emit LCTRL 4
#emit LOAD.S.alt n
#emit ADD
#emit SCTRL 4
}
Hotkey 'C': Copy (While you are editing a textdraw)
Hotkey 'Z': Undo (While you are editing a textdraw)
Hold 'Left Shift' while editing to move/resize textdraws slowly for precision.
Hold 'Spacebar' while editing to move/resize textdraws faster.
Hotkey 'F': Change Font
Hotkey 'P': Change Position
Hotkey 'S': Change Size (If you are resizing font, use 'lettersize mode', 'size mode' only works on texture/box size)
Hotkey 'Y': Change Text
Hotkey 'L': Change LetterSize
Hotkey 'Q': Change Color
Hotkey 'B': Change Background Color
Hotkey 'U': Toggle Box ON/OFF
Hotkey 'I': Change Box Color
Hotkey 'O': Change Outline Size
Hotkey 'W': Change Shadow Size
Hotkey 'G': Toggle Global/Player Textdraw
Hotkey 'A': Toggle Alignment Type
Hotkey 'K': Toggle Selectability
Hotkey 'R': Toggle Proportionality
Hotkey 'M': Textdraw List Dialog
Hotkey 'N': New Textdraw Dialog