- 0
Salutari
-
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
SkilleT
Pot spune ca sunt nou in faza de scripting si am unele nevoi mai simple si prostutze dar asta e nu am avut de unde invata chestiile astea![:(](//www.sa-mp.ro/applications/core/interface/js/spacer.png)
Vreau sa modific o comanda sa poata fi folosita doar de rank4 la LSPD
Am comanda adaugata tot dar vreau sa stiu cum trebuie sa o modific ca sa o poata folosi doar rank4 +
[pawn] if (strcmp(cmd,"/spikes",true) == 0)
{
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_GREY, "Cannot use this while being in the Car !");
return 1;
}
[/pawn]
Multumesc
Link to comment
Share on other sites
2 answers to this question
Recommended Posts