[FilterScript] STWeaponSys|v1.0| Will be updated. with more weapons
#1

STWeapon system

What is it ?

STWeaponSys is a simple weapon shop that was created by me it's a simple code really nice tho good for dm servers

How much versions?

There is two versions for now:
  • Version v1.2
  • Version v1.1
Differents between two of them ?


So version v1.2 is a dialog which is better and simple

Version v1.1 is a command, Like /deagle and /shotgun

Pictures?

v1.2 http://postimg.org/gallery/ogoj3ala/f86bce9a/

v1.2 updated http://postimg.org/gallery/v9cmm7uy/4bfb451e/

Downloads?


Reply
#2

It is not a good way to buy every weapon with a single command.
Reply
#3

Код:
CMD:crifle(playerid, params[])
{
  if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid, -1, "You don't have enough money to buy rifle.");
  GivePlayerWeapon(playerid, 33, 100);
  GivePlayerMoney(playerid, 99-9);
  SendClientMessage(playerid, -1, "You have bought rifle for 999$");
  return 1;
}
Whats ?

The price is "999" but if you have 1000 you cant bought ?

Same for TEC


Код:
CMD:tec(playerid, params[])
{
  if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid, -1, "You don't have enough money to buy tec.");
  GivePlayerWeapon(playerid, 32, 100);
  GivePlayerMoney(playerid, -1000);
  SendClientMessage(playerid, -1, "You have bought tec for 1000$");
  return 1;
}
Thks but test it before share
Reply
#4

Lol, well done.
Reply
#5

Quote:
Originally Posted by StreetRP
Посмотреть сообщение
Код:
CMD:crifle(playerid, params[])
{
  if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid, -1, "You don't have enough money to buy rifle.");
  GivePlayerWeapon(playerid, 33, 100);
  GivePlayerMoney(playerid, 99-9);
  SendClientMessage(playerid, -1, "You have bought rifle for 999$");
  return 1;
}
Whats ?

The price is "999" but if you have 1000 you cant bought ?

Same for TEC


Код:
CMD:tec(playerid, params[])
{
  if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid, -1, "You don't have enough money to buy tec.");
  GivePlayerWeapon(playerid, 32, 100);
  GivePlayerMoney(playerid, -1000);
  SendClientMessage(playerid, -1, "You have bought tec for 1000$");
  return 1;
}
Thks but test it before share
Isn't it:

Код:
CMD:tec(playerid, params[])
{
  if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, -1, "You don't have enough money to buy tec.");
  GivePlayerWeapon(playerid, 32, 100);
  GivePlayerMoney(playerid, -1000);
  SendClientMessage(playerid, -1, "You have bought tec for 1000$");
  return 1;
}
Reply
#6

Gonna be updated to dialog.

10 min.
Reply
#7

UPDATED!
Reply
#8

I like v1.2 but v1.1 I also goood

Good job i hope you make new ver soon
Reply
#9

Quote:
Originally Posted by ivndosos
Посмотреть сообщение
I like v1.2 but v1.1 I also goood

Good job i hope you make new ver soon
Thank you
Reply
#10

Nice job. The v1.2 looks much better with dialog!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)