Minigun question?
#3

PHP код:
dcmd_minigun(playerid,params[])
{
  
#pragma unused params
  
if(gTeam[playerid] == TEAM_SURVIVANT || AdminLevel[playerid] == 1)
  {
  new 
Float:createxFloat:createyFloat:createzFloat:Rotation;
  
GetPlayerPos(playerid,createx,createy,createz);
  
GetPlayerFacingAngle(playerid,Rotation);
  
SaveMinigunDataToLog(CreateMinigun(createx,createy,createz -1,Rotation,10,4,true),"blub");
  
MinigunPlaced[playerid] =1;
  
SetTimer("DetruireMinigun",180000,1);
  }
  else(
gTeam[playerid] != TEAM_SURVIVANT || AdminLevel[playerid] != 1)
  {
      
SendClientMessage(playerid,0x8C6346FF,"Vous ne pouvez pas utiliser cette commande en йtant qu'un Zombie.");
      return 
1;
  }
  return 
1;

Like this ?
Reply


Messages In This Thread
Minigun question? - by KillerDVX - 19.06.2015, 13:01
Re: Minigun question? - by ikey07 - 19.06.2015, 13:26
Re : Minigun question? - by KillerDVX - 19.06.2015, 13:31
Re: Minigun question? - by ikey07 - 19.06.2015, 13:33
Re : Minigun question? - by KillerDVX - 19.06.2015, 13:34
Re: Minigun question? - by ikey07 - 19.06.2015, 13:36
Re : Re: Minigun question? - by KillerDVX - 19.06.2015, 13:39
Re : Minigun question? - by KillerDVX - 19.06.2015, 14:50

Forum Jump:


Users browsing this thread: 2 Guest(s)