Jump to content
  • 0




Salut am si eu doua intrebari

1.Cum fac in asa fel incat cand doi mafioti se lupta (am pus deja scriptul) sa ii ia totii banii (deci vreau doar sa stiu cum pun sa ii ia toti banii de la el)

2.Ce ar trebuii sa pun la o anumita comanda ca sa teleportez la mine toti membrii unei factiuni

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Defapt,doar prima e o problema GF,a doua e problema de scripting.

la 2 trebuie sa faci un loop si sa verifici daca variabila care salveaza factiunea e la fel cu ce mama dracu ai specificat tu.


if(strcmp(cmd,"/getfromfaction",true) == 0)


if(PlayerInfo[playerid][pAdmin]<5)return 1;

new factionID = strval(strtok(cmdtext,idx));

new Float:X,Float:Y,Float:Z;


for(new i;i<MAX_PLAYERS;i++)


if(IsPlayerConnected(i) && PlayerInfo[playerid][pFaction] == factionID) SetPlayerPos(i,X,Y,Z);


return 1;



La 1 cam asa ar trebui sa faci:

Te duci la nenea' Ice Cube, ii dai tributu si tii aranjeaza pe toti :)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Create New...

Important Information

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.