lundi 2 mars 2015

[Tutorial] Tutorial for ..., visualize the new objects of SA-MP

[] Tutorial for ..., visualize the new objects of SA-MP:

1- SAMP install the client that corresponds to the current version.

2-



3- ready, you can now display the new objects.. (Note: new objects are logic at the end of the list).




dimanche 1 mars 2015

Want To earn Dollar With Your Android Phone

Want to earn with your android phone to help server for donating...

use this Whaff Rewards: http://ift.tt/1G9Lsob

Download it and Install

And add me as your Invation Code: AM61773

Both of us can get $0.30

Good Luck and Enjoy Earning with your AndroidPhone...



http://ift.tt/1FMvT24









WHAFF added the new feature that you can get rewarded constantly

Get rewarded constantly with one app

Now earn free allowance with the best reward app, WHAFF!

With credibility and reliability, WHAFF is your best choice!

1. Get rewards for download an app

2. Get rewards for using the app

3. Get rewards for maintaining the app on your device

Nothing can give you free money like WHAFF!

Try WHAFF now and discover our new feature!

Now gain money constantly with the best reward app WHAFF!



?Discover useful apps and Get Rewarded with Cash or Gift Cards! ?

Do you want to discover new apps and get rewarded with cash or Gift Cards? WHAFF will let you browse Sponsored Apps Hand Picked by WHAFF and reward you whenever downloading apps.

# HOW IT WORKS:

1. Login to WHAFF with your Facebook account.

2. Browse new apps and download them if you want to.

3. Get Cash via Paypal or Gift Cards(Amazon Gift Card, facebook Gift Card, PlayStation Gift Card, Google Play Gift Card, Xbox Gift Card and Steam Gift Card) when you earn more than 10 dollars.

What our users say:

“Does exactly what it says. I've gotten 2 payouts so far. Thanks Whaff!!”

“This app is a really easy and fun way to earn free stuff!”

“No other app comes close to this one!”

Like us on Facebook: http://ift.tt/1q0pEDp

If you have any questions, please feel free to contact us at whaff@whaff.com



WARNING

The following actions are prohibited:

- Using VPN, proxy or any others which allow illegal(abnormal) access to WHAFF

- Using multiple IDs with one device

- Using multiple devices with one ID

- Any other actions that might cause the benefit of WHAFF and its users

Those who engage the actions above will get banned and the credit will be forfeited.

Also, don't put your invitation code in your Google Play review. It might cause your account banned.




[Ayuda] Dialog

filterscript esto fue en todo normal, añadir una administración filterscript y dejado de mostrar las funciones dialago, además yo ya cambié el id no sé por qué no aparece nada.



Escribo el comando muestra el cuadro de diálogo, pero cuando elijo la función de diálogo desaparece y no pasa nada, ya he cambiado el ID de diálogo y nada, que alguien me ayude por favor? + rep




How can I make a basic faction system?[HELP]

Can someone make for me a basic faction system pls?




Floatsqroot / Sqroot / Absolute

Hi,

there might already been some answer to this, although I did not find it by searching...



How could I get the absolute value of an integer (-92 ==> 92)

floatsqroot(value*value) and floatabs(value) will return a tag mismatch warning..

I have solved this by multiplying with -1, although I'm interested whether there is an alternative way for it




Command question



Quote:








if(strcmp(subcmd, "arme", true) == 0)

{

if(PlayerInfo[playerid][pAdmin] < COFONDA){return NotAdmin(playerid,cmd);}



tmp = strtok(cmdtext, idx);

if(!strlen(tmp))

{return SendCmdModelMessage(playerid, "/donnerarme <ID/Pseudo> <Munitions> <Arme ID/Nom>");}

new giveplayerid = ReturnUser(tmp);







new length = strlen(cmdtext);

while ((idx < length) && (cmdtext[idx] <= ' '))

{idx++;}

new offset = idx;

new result[64];

while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))

{result[idx-offset] = cmdtext[idx]; idx++;}

result[idx - offset] = EOS;

if(!strlen(result))

{return SendCmdModelMessage(playerid, "/donnerarme <ID/Pseudo> <Munitions> <Arme ID/Nom>");}







tmp = strtok(cmdtext, idx);

if(!strlen(tmp))

{return SendCmdModelMessage(playerid, "/donnerarme <ID/Pseudo> <Munitions> <Arme ID/Nom>");}

new ammo = strval(tmp);



new amount = GetWeaponModelFromName(result);



GetPlayerName(playerid, playername,sizeof(playername));

GetPlayerName(giveplayerid, giveplayername,sizeof(giveplayername));



SafeGivePlayerWeapon(giveplayerid, amount, ammo);

return 1;

}



Hi,



I want to do this /giveweapon command and I would like to have it with this form:



/giveweapon <ID> <Name Of Weapon> <Ammo>



The problem is that the Name of the Weapon is a string and when I tape the command in game, the ammo part is "taking" by the Name string.



Is there a way to stop the string detection just before the ammo option ?




Save System Toys in SQL

I want to save information about Toy System because it can be stored in SQL format is highly recommended to me.



[pawn]for(new v = 0; v < MAX_PLAYERTOYS; v++)

{

MySQLUpdatePlayerInt(query, PlayerInfo[playerid][pSQLID], "ModelID", PlayerToyInfo[playerid][v][pModelID]);

MySQLUpdatePlayerInt(query, PlayerInfo[playerid][pSQLID], "Bone", PlayerToyInfo[playerid][v][pBone]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "PosX", PlayerToyInfo[playerid][v][pPosX]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "PosY", PlayerToyInfo[playerid][v][pPosY]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "PosZ", PlayerToyInfo[playerid][v][pPosZ]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "RotX", PlayerToyInfo[playerid][v][pRotX]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "RotY", PlayerToyInfo[playerid][v][pRotY]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "RotZ", PlayerToyInfo[playerid][v][pRotZ]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "ScaleX", PlayerToyInfo[playerid][v][pScaleX]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "ScaleY", PlayerToyInfo[playerid][v][pScaleY]);

MySQLUpdatePlayerFlo(query, PlayerInfo[playerid][pSQLID], "ScaleZ", PlayerToyInfo[playerid][v][pScaleZ]);

}[pawn]