- 0
probleme /ban
-
Similar Content
-
- 1 reply
- 162 views
-
- 0 answers
- 81 views
-
- 6 replies
- 387 views
-
- 4 replies
- 338 views
-
- 1 answer
- 772 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
preda_tor95
puteti sa imi spuneti si mie cei cu aceasta comanda?
/*public BanAdd(bantype, sqlplayerid, ip[], hackamount)
{
new query[128];
format(query, sizeof(query), "INSERT INTO bans (type,player,ip,time,amount) VALUES ('%d',%d,'%s',UNIX_TIMESTAMP(),%d)", bantype,sqlplayerid,ip,hackamount);
samp_mysql_query(query);
return 1;
}*/
-=-=-------------------------------
/*if(Mobile[playerid] == 1180)
{
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GREEN, "Advertisement business: What would you like to advertise?");
return 0;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(text);
while ((idx < length) && (text[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = text[idx];
idx++;
}
result[idx - offset] = EOS;
if ((!adds) && (PlayerInfo[playerid][pAdmin] < 1))
{
format(string, sizeof(string), " Please try again later %d seconds between Advertisements !", (addtimer/1000));
SendClientMessage(playerid, COLOR_GRAD2, string);
return 1;
}
new payout = idx * 10;
if(GetPlayerMoney(playerid) < payout + 200)
{
format(string, sizeof(string), "* You used %d characters which cost $%d, you don't have enough.", offset, payout);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
return 1;
}
SafeGivePlayerMoney(playerid, - payout);
SafeGivePlayerMoney(playerid, - 200);
SBizzInfo[7][sbTill] += payout + 200;
ExtortionSBiz(7, payout + 200);
format(string, sizeof(string), "[Advert] %s, Phone: %d", result, PlayerInfo[playerid][pPnumber]);
OOCNews(TEAM_GROVE_COLOR,string);
format(string, sizeof(string), "~r~Paid $%d~n~~w~Message contained: %d Characters~n~~w~Plus ~g~200$~w~ for ad through phone", payout, idx);
GameTextForPlayer(playerid, string, 5000, 1);
if (PlayerInfo[playerid][pAdmin] < 1){SetTimer("AddsOn", addtimer, 0);adds = 0;}
}*/
Ca nu gasesc comanda cu care se da ban..daca se poate sa imi ziceti pt ce is aceste 2 comenzi,sau ce is..
1 answer to this question
Recommended Posts