25.01.2013, 14:42
(
Последний раз редактировалось Er@x3r; 25.01.2013 в 15:34.
)
Hi i need help if i write /moneybag [amout]
put money in that the min amout is 50k$
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#define COLOR_LIGHTBLUE 0x33CCFFAA
new p1;
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/moneybag", cmdtext, true, 10) == 0)
{
p1 = CreatePickup(1550, 8, 1503.3359, 1432.3585, 10.1191, -1);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreatePickup(1550, 2, X + 2, Y, Z);
SendClientMessage(playerid,COLOR_LIGHTBLUE,"You picked up the moneybag!");
return 1;
}
return 0;
}
#endif
put money in that the min amout is 50k$
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#define COLOR_LIGHTBLUE 0x33CCFFAA
new p1;
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/moneybag", cmdtext, true, 10) == 0)
{
p1 = CreatePickup(1550, 8, 1503.3359, 1432.3585, 10.1191, -1);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreatePickup(1550, 2, X + 2, Y, Z);
SendClientMessage(playerid,COLOR_LIGHTBLUE,"You picked up the moneybag!");
return 1;
}
return 0;
}
#endif