Disable teleport to player
#5

pawn Код:
if (strcmp("/rocket", cmdtext, true) == 0)
{
if(MinigameParticipant[playerid]!=1)
{
MinigameParticipant[playerid]=1;  // let the system know that heґs in minigame
  ResetPlayerWeapons(playerid);
  SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid,100);
    SendClientMessageToAll(0x828282FF, "Server: A player has joined the Rocket-Ramba-Zamba. Type /rocket  to join as well!");
    SendClientMessage(playerid, 0x007F00FF, "Have fun.");
    SetPlayerPos(playerid, -1396.8975,1249.1334,1039.8672);
    SetPlayerFacingAngle(playerid, 0);
 SetPlayerInterior(playerid, 16);
    SaveToFile("RocketLog",string);
    GivePlayerWeapon(playerid,35,10000);
}
if(MinigameParticipant[playerid]==1)
{
SendClientMessage(playerid, COLOR_RED, "You suck XD");
}
    return 1;
}
You mean this way?!
Reply


Messages In This Thread
Disable teleport to player - by Jeffry - 31.10.2009, 14:06
Re: Disable teleport to player - by DeathOnaStick - 31.10.2009, 14:25
Re: Disable teleport to player - by Striker_Moe - 31.10.2009, 14:27
Re: Disable teleport to player - by Jeffry - 31.10.2009, 14:32
Re: Disable teleport to player - by DeathOnaStick - 31.10.2009, 15:10
Re: Disable teleport to player - by Jeffry - 31.10.2009, 15:27
Re: Disable teleport to player - by DeathOnaStick - 31.10.2009, 15:28
Re: Disable teleport to player - by Jeffry - 31.10.2009, 15:28
Re: Disable teleport to player - by DeathOnaStick - 31.10.2009, 15:34
Re: Disable teleport to player - by Jeffry - 31.10.2009, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)