Jump to content
  • 0

problema /supremacy


crazyzee

Question

Am si eu o problema dupa ce deschid SupreMacy si dau /supremacy ca sa ma inscriu la event , ma teleporteaza undeva in aer , eu as vrea sa ma teleporteze la aceste coordonate :

[pawn]AddPlayerClass(110,1305.2646,1483.7552,10.8203,13.5119,0,0,0,0,0,0); // [/pawn]

Si asta e comanda /supremacy unde banuiesc ca are trebui sa le pun :

[pawn]if(strcmp(cmd, "/supremacy", true) == 0)

{

if(IsPlayerConnected(playerid))

{

if(supremacy == 1)

{

if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pMember] == 18 ||

PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pLeader] == 18)

{

SetPlayerVirtualWorld(playerid, 200);

SetPlayerPos(playerid,eventx,eventy,eventz);

SendClientMessage(playerid, COLOR_GRAD1, "Welcome to the Supremacy !");

GivePlayerWeapon(playerid, 24, 9999);

GivePlayerWeapon(playerid, 25, 9999);

GivePlayerWeapon(playerid, 29, 9999);

GivePlayerWeapon(playerid, 31, 9999);

GivePlayerWeapon(playerid, 33, 9999);

SetPlayerHealth(playerid, 100);

}

else

{

SendClientMessage(playerid, COLOR_GRAD1, "you'r not allowed to use that command");

return 1;

}

}

else

{

SendClientMessage(playerid, COLOR_GRAD1, "isn't supremacy at this time!");

}

}

return 1;

}[/pawn]

RPG.VIBEPLAY.RO

Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

De acum nu va mai iert cititi regulamentul, e greu sa schimbi o coordonata, tu ce stiii sa facim in pawno. Daca te uiti pe lista cu topicuri vad aceeleasi persoane care posteaza comenzi, vrand ca noi sa le facem, sa le schimbam o coordonata.

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

Guest
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.