Script Request Thread #2
#61

Quote:
Originally Posted by ♣ ⓐⓢⓢ
Quote:
Originally Posted by Dreftas
how in pawn write from 0 to 50 ?
in a switch statment ?

case 0..50: {}

or if you want to do it in an array

new Array[50] = {0, 1, 2, ...};
ah, yes Thx.
Reply
#62

Anyone can give me the link of the FS (i think its a FS already saw 2 servers with the same anim system)
that gives me the anims including the /pee anim where we see pee getingout from the player and the /fall
with make the player stay in the ground?

thank you
Reply
#63

Quote:
Originally Posted by Aoi_Rikuto
I would like something like this:
GTA:SARP - Fart-bomb

I would like a GodFather script without the admin system.

Any help would be appreciated!

Also: If anyone wants to help me script, I will gladly appreciate it! There is one thing though. I am too young to have a credit card so unfortunately I cannot pay. If you still want to just for the fun of it send me a message please.
Reply
#64

Only found this topic talking about Seifanimation

any others sugestions?

a link?
Reply
#65

Does anyone know how to "scan" specific folder with dini for all files ?
For example, I want to scan folder "Example". Then in all founded files i want to get integer "value", and then all those values plus each other. How to do that?
Reply
#66

Quote:
Originally Posted by Dreftas
Does anyone know how to "scan" specific folder with dini for all files ?
For example, I want to scan folder "Example". Then in all founded files i want to get integer "value", and then all those values plus each other. How to do that?
Its only possible in folder ScriptFiles but there you can create extra folders
Reply
#67

Quote:
Originally Posted by ♣ ⓐⓢⓢ
Quote:
Originally Posted by Dreftas
Does anyone know how to "scan" specific folder with dini for all files ?
For example, I want to scan folder "Example". Then in all founded files i want to get integer "value", and then all those values plus each other. How to do that?
Its only possible in folder ScriptFiles but there you can create extra folders
This is what i need So how to scan something in scriptfiles with dini ?
Reply
#68

what you mean by scan ? maybe just read some dini tutorials...
Reply
#69

Scan - check every file in that folder and then check every founded file for line "value=number"...
Reply
#70

Quote:
Originally Posted by Dreftas
Scan - check every file in that folder and then check every founded file for line "value=number"...
Not possible in pawn, you only can check specific named files
Reply
#71

need a small script part that
when a person enters a vehicle it says that they have entered the vehicle

Example:
You have entered Bullet

at the moment it only shows the vehicle ID only
i have the vehicles include file, but i aint sure how to make it show the vehicle name
Reply
#72

Could you help me? About How to make the /gamble command

I really want to know how to make that command, because I had try many method already I can't make that command. - -


Please Help me.

Sorry for my bad English, I'm Thai.
Reply
#73


Quote:
Originally Posted by DeathGod
all i want is a simple /seeweap and it shows the target ids weaps
I think you can use this command.

Quote:

if(strcmp(cmd, "/checkweaps", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] < 1337)
{
SendClientMessage(playerid, COLOR_GREY, " You cannot use this command.");
return 1;
}
tmp = strtok(cmdtext,idx);
if (!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GREY, "USAGE: /checkweaps [playerid/partOfName]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (giveplayerid == INVALID_PLAYER_ID)
{
SendClientMessage(playerid, COLOR_GREY, "That player is offline");
return 1;
}
new sweapon, sammo;
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "%s has gun id :", giveplayer);
SendClientMessage(playerid, COLOR_GRAD1, string);
for (new i=0; i<9; i++)
{
GetPlayerWeaponData(giveplayerid, i, sweapon, sammo);
if(sweapon != 0)
{
format(string, sizeof(string), "%d: %d (ammo : %d)", i, sweapon, sammo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}

Reply
#74

Quote:
Originally Posted by kingcesar
Quote:
Originally Posted by DeathGod
all i want is a simple /seeweap and it shows the target ids weaps
I think you can use this command.
I already made his command further up that shows the name and not just the id. Not saying this is bad though. :P

Quote:
Originally Posted by kingcesar
Could you help me? About How to make the /gamble command

I really want to know how to make that command, because I had try many method already I can't make that command. - -


Please Help me.

Sorry for my bad English, I'm Thai.
You're english is good. Alot better then some of the other ones around here. What exactly do you want the command to do?

Reply
#75

Quote:
Originally Posted by backwardsman97

You're english is good. Alot better then some of the other ones around here. What exactly do you want the command to do?

Thank you.


Um, I want to make the command like this >>>> /gamble [price to play gamble]
Ummm, I think the /gamble command that I want to make can make people do the gamble in the casino and when someone type /gamble ||
for Example : Mr.Magna has $7000 Mr.Magna has type /gamble 7000 , the system will take his money for $7000 and random the value(+ or -) to return the money to Mr.Magna or will not return the money to Mr.Magna

Then, If the system random the value to "+" The System will return the money to Mr.Magna so Mr.Magna will receive $14000 to his pocket

And If the system random the value to "-" The System will not return the money to Mr.Magna so Mr.Magna will receive $0 to his pocket

Do you understand on my explain?

I'm sorry if my explain make you confuse.
Reply
#76

i need command /gotoarch it will spawn u to cartune and /gotolow it should go there wher eu can tune lowriders and stuff... btw when u can mmake it to admin


if(strcmp(cmd, "/gotoct", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar,-2721.1213,215.6053,4.4844,90);
}
else
{
SetPlayerPos(playerid,-2721.1213,215.6053,4.4844,90);
}
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "[ERROR:] Your not an administrator.");
}
}
return 1;

its 1 command it should look like that
Reply
#77

[i] I want a taxi job script which does the following:
If player is in taxi driver skin && vehicle driver. If players vehicle ID == Passengers vehicle ID then every 10 seconds passengers cash will be -10 and drivers cash will be +10. I have searched taxi job scripts on forum and they arent usefull, so i need help after long search.. please do help me.
Reply
#78

Код:
//////////////////////////////////////////////////////////////////////////////// PAYDAY + AITOMESSAGE
public Timer(playerid)
{
SendClientMessageToAll(COLOR_YELLOW, "Please Visit us here at, Kontrol-Gaming.co.cc"); // Color can be edited, Look at top for the colors.
SendClientMessageToAll(COLOR_YELLOW, " Please remember to report any bugs you may find, /Bug <Message>");

for(new a=0; a<MAX_PLAYERS; a++)
  {
GivePlayerMoney(a, 1000);
}
SendClientMessageToAll(COLOR_LIGHTGREEN, "You've recieved playing money **$1000**!");
}
THIS IS MY BANK TIME SYSTEM, I NEED IT, THAT IF YOUR IN DEPT AT BANK TIME, WHICH IS EVERY 10mins
YOU GOTO JAIL FOR 3mins, PLEASE PM ME


Reply
#79

an somebody help me doing a gangstorage please? every gang should have their own storage and you can deposit and withdraw things there

thanks in advance
Reply
#80

Organization system would be nice
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)