- 0
Comanda [/ram]
-
Similar Content
-
- 2 answers
- 678 views
-
Am o problema cu un battlepass,de ce nu merge comanda /misiuni cand o scriu,tin sa precizez ca script-ul mi l-a facut chatgpt
By cbnmihaita,
- 2 answers
- 425 views
-
- 3 replies
- 564 views
-
Comanda /spec
By VAurel,
- 4 answers
- 778 views
-
- 3 replies
- 661 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Rafael.
= Comanda: /ram
//=============================================================================================================================================================
if(strcmp(cmd, "/ram", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(gTeam[playerid] == 1)
{
for(new i = 0; i < sizeof(HouseInfo); i++)
{
if (PlayerToPoint(3, playerid,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]))
{
SetPlayerInterior(playerid,HouseInfo[hInt]);
SetPlayerPos(playerid,HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz]);
GameTextForPlayer(playerid, "~r~Ai spart ~g~Usa", 5000, 1);
PlayerInfo[playerid][pInt] = HouseInfo[hInt];
PlayerInfo[playerid][pLocal] = i;
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "{30a030}[Server]: {ffffff}Ne pare rau, dar nu faci parte din factiunea {000cff}LSPD{ffffff}, {000cff}NG {ffffff}sau {000cff}FBI{ffffff}.");
return 1;
}
}
return 1;
}
Ajutor va rog:)
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now