#3

Quote:
Originally Posted by DaneAMattie
Посмотреть сообщение
you have to make teams first, then use
if(gTeam[playerid] == TEAM_ARMY)
{
//Health~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
if( pickupid == HealthPickup){
if(IsPlayerAdmin(playerid)==1){
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid,COLOR_ORANGERED,"You picked up Health!");
}
else return SendClientMessage(playerid,COLOR_CRIMSON,"Health for admin, ONLY!");
}
//Armour~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
if( pickupid == ArmourPickup){
if(IsPlayerAdmin(playerid)==1){
SetPlayerArmour(playerid, 100);
SendClientMessage(playerid,COLOR_GREY,"You picked up Armour!");
}
else return SendClientMessage(playerid,COLOR_CRIMSON,"Armour for admin, ONLY!");
}
//Minigun~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
if( pickupid == MinigunPickup){
if(IsPlayerAdmin(playerid)==1){
GivePlayerWeapon(playerid, 38, 99999);
SendClientMessage(playerid,COLOR_CRIMSON,"You picked up a Minigun!");
}
else return SendClientMessage(playerid,COLOR_CRIMSON,"Minigun for admin, ONLY!");
}
//Grenade~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
if( pickupid == GrenadePickup){
if(IsPlayerAdmin(playerid)==1){
GivePlayerWeapon(playerid, 16, 99999);
SendClientMessage(playerid,COLOR_CRIMSON,"You picked up a Grenade!");
}
else return SendClientMessage(playerid,COLOR_CRIMSON,"Greande for admin, ONLY!");
}
//EnterHouse~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
if( pickupid == EnterHouse){
if(IsPlayerAdmin(playerid)==1){
SetPlayerPos(playerid,963.37561035156,-53.307209014893,1001.124572);
SetPlayerInterior(playerid, 3 );
SendClientMessage(playerid,COLOR_CRIMSON,"Welcome to the Admin House!");
}
else return SendClientMessage(playerid,COLOR_CRIMSON,"You connot enter, Just for admins!");
}
//ExitHouse~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
if( pickupid == ExitHouse){
SetPlayerPos(playerid,969.80432128906,2133.1311035 156,10.8203);
SetPlayerInterior(playerid, 0 );
SendClientMessage(playerid,COLOR_CRIMSON,"You have left the Admin House!");
}
}
Can you please make the script Without Errors? and please use: [PAWN] (/PAWN]? change the ( to [
Reply


Messages In This Thread
ARMY - by Larsey123IsMe - 08.11.2010, 12:46
Re: ARMY - by DaneAMattie - 08.11.2010, 12:52
Re: ARMY - by Larsey123IsMe - 08.11.2010, 13:01
Re: ARMY - by DaneAMattie - 08.11.2010, 13:09
Re: ARMY - by Larsey123IsMe - 08.11.2010, 13:44
Re: ARMY - by ColdXX - 08.11.2010, 13:49
Re: ARMY - by Larsey123IsMe - 08.11.2010, 13:56
Re: ARMY - by ColdXX - 08.11.2010, 14:25
Re: ARMY - by Larsey123IsMe - 08.11.2010, 14:31
Re: ARMY - by ColdXX - 08.11.2010, 14:43

Forum Jump:


Users browsing this thread: 3 Guest(s)