- 0
Problema comanda /v lock
-
Similar Content
-
- 4 replies
- 149 views
-
- 4 answers
- 633 views
-
- 1 reply
- 118 views
-
Comanda /spec
By VAurel,
- 4 answers
- 282 views
-
- 2 answers
- 737 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
friezakinght
salut am si eu o problema, folosesc gm-ul Raven's Roleplay si cand dau /v lock scrie Vehicul Blocat (l-am tradus) apoi merge sa intru in el si daca scrie Vehicul Deblocat tot merge sa intru in el ce trebuie sa adaug?
Uite aici comanda:
[pawn]else if(strcmp(x_nr,"lock",true) == 0)
{
new keycar = PlayerInfo[playerid][pPcarkey];
if(keycar != 9999)
{
new Float:X,Float:Y,Float:Z;
GetVehiclePos(keycar,X,Y,Z);
if(IsPlayerInRangeOfPoint(playerid, 25,X,Y,Z))
{
new locked[128];
locked = strtok(cmdtext, idx);
if(CarInfo[keycar][cLock] == 1)
{
format(string, sizeof(string), "~w~Vehicul~n~~g~Deblocat");
GameTextForPlayer(playerid, string, 4000, 3);
CarInfo[keycar][cLock] = 0;
OnPropUpdate(4,keycar);
return 1;
}
else if(CarInfo[keycar][cLock] == 0)
{
format(string, sizeof(string), "~w~Vehicul~n~~r~Blocat");
GameTextForPlayer(playerid, string, 4000, 3);
CarInfo[keycar][cLock] = 1;
OnPropUpdate(4,keycar);
return 1;
}
}[/pawn]
Raven's Roleplay translated percent
Link to comment
Share on other sites
0 answers to this question
Recommended Posts