Author Topic: new cmd  (Read 3016 times)

0 Members and 1 Guest are viewing this topic.

Offline YoMan

  • Street Thug
  • *
  • Posts: 17
    • View Profile
new cmd
« on: March 06, 2012, 03:34:32 pm »
Hi all guys i made a !giveheal cmd u can take it

Code: [Select]
else if ( strcmp( cmd, "!giveheal", true ) == 0 )
{
new snick[ 128 ], plr, szMsg[ 128 ];
snick = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( snick );
   if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
else
{
format( szMsg, sizeof( szMsg ), "%s Give Health to %s", gPlayers[ playerid ], gPlayers[ plr ]);
SendClientMessageToAll( COLOR_GREEN, szMsg );
SetPlayerHealth( plr, 100.0 );
GameTextForPlayer( plr,"Thanks Him", gPlayers[ playerid ]);
}
return 1;
}

IF u like it then plzz dont forgot to register on www.bsgclan.smffy.com

Offline YoMan

  • Street Thug
  • *
  • Posts: 17
    • View Profile
Re: new cmd
« Reply #1 on: March 07, 2012, 01:02:32 pm »
thanks if u like my script then plzzz register on bsgclan.smffy.com

Offline Innocent Heart

  • Wiseguy
  • **
  • Posts: 51
  • Crime Investigation Department Owner
    • View Profile
    • Crime Investigaton Department
Re: new cmd
« Reply #2 on: March 07, 2012, 01:27:02 pm »
Nice Cmd !
Conatact Information :
Facebook:-www.facebook.com/dashingjaff
Youtube:-www.youtube.com/NooranScripter

====>My Server Info  < ========
ServerName :- CID-Server
Server Clan :- [D.R] Dakriders
Server Forum :- www.CidServer.tk
Clan Forum :-www.Drgang.tk
=====> DarkRiders Group <=====

Pm Me If U want To be Pro In Scripting !
Those Who Banned my Ip and My Freind's Ip They Are Big Fuckers...!

Offline YoMan

  • Street Thug
  • *
  • Posts: 17
    • View Profile
Re: new cmd
« Reply #3 on: March 07, 2012, 02:09:42 pm »
thnxs

Offline Innocent Heart

  • Wiseguy
  • **
  • Posts: 51
  • Crime Investigation Department Owner
    • View Profile
    • Crime Investigaton Department
Re: new cmd
« Reply #4 on: March 07, 2012, 02:17:32 pm »
thnxs
Man Don't Say Thankx Again to me Because in Freinds i Don't That Someone is Saying me Thanks :)
Conatact Information :
Facebook:-www.facebook.com/dashingjaff
Youtube:-www.youtube.com/NooranScripter

====>My Server Info  < ========
ServerName :- CID-Server
Server Clan :- [D.R] Dakriders
Server Forum :- www.CidServer.tk
Clan Forum :-www.Drgang.tk
=====> DarkRiders Group <=====

Pm Me If U want To be Pro In Scripting !
Those Who Banned my Ip and My Freind's Ip They Are Big Fuckers...!