- 0
Problema /predarepd
-
Similar Content
-
- 5 answers
- 82 views
-
- 6 answers
- 77 views
-
- 0 answers
- 78 views
-
- 0 replies
- 34 views
-
- 3 replies
- 75 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Mr.LeX2011
salut am incercat sa fac si eu o comanda de predare
cand ai wanted si nu e nici un politist on pe sv sa te duci in sectia lspd si sa scrii /predarepd
si sa te predai si sa apara de exemplu la tot sv
<< VoLuM3 s-a predat >>
if(strcmp(cmd, "/predarepd", true) == 0 || strcmp(cmd, "/predarepd", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
Showpredare(playerid,playerid);
}
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
SetPlayerCriminal(giveplayerid,playerid, result);
return 1;
}
format(string, sizeof(string), "<< %s s-a predat >>", sendername);
OOCNews(COLOR_2RED, string);
}
if(bail == 1)
{
JailPrice[suspect] = bailprice;
format(string, sizeof(string), "You are jailed for %d seconds. Bail: $%d", PlayerInfo[suspect][pJailTime], JailPrice[suspect]);
SendClientMessage(suspect, COLOR_LIGHTBLUE, string);
}
nu mia iesit ma ajutati variabilele X(
Link to comment
Share on other sites
1 answer to this question
Recommended Posts