Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Castagna

Pages: 1 2 3 [4] 5 6 ... 8
46
mIRC/pawn Scripting / Re: Cop and medic
« on: June 06, 2011, 08:48:05 pm »
[pawn]else if (strcmp(cmd, "!police", true) == 0)
   {
       SetPlayerSkin(playerid,1);
          }

      return 1

if (strcmp(cmd, "!paramedic", true) == 0)
   {
       SetPlayerSkin(playerid,5);
          }

      return 1;[/pawn]

Quote
2. How do I make cops vehicle only enterable by cops?
Sorry but i can't make you all the script, try to do it on your own.

Quote
How do I do medic heal-only commands?
The same as the first question... but i can give you a idea. You should disable the !heal for skins witch are not medics.

47
mIRC/pawn Scripting / Re: best pawn server>
« on: June 03, 2011, 10:07:14 pm »
You should make your own no stealing...But if you need one, Madara's script (Warchiefs) is very complete for pawn servers.

48
mIRC/pawn Scripting / Re: Lock Server
« on: May 30, 2011, 10:45:39 pm »
Just possible on Squirrel and mIRC servers.

49
mIRC/pawn Scripting / Re: Scripts
« on: May 30, 2011, 07:46:37 pm »
At first , you have to edit .pwn file , cause amx is the codiffication of .pwn .Them for save changes in script you need a pawn.exe . Every change do do ,must be checked by the copiler , that show you the mistaken label or line in the script ...
 
                                                       

50
mIRC/pawn Scripting / Re: missing function squirrel
« on: May 29, 2011, 07:45:21 pm »
didn't work ... because I need that function

51
mIRC/pawn Scripting / Re: missing function squirrel
« on: May 29, 2011, 06:38:21 pm »
ok thanks !
didn't work ... because I need that function

52
mIRC/pawn Scripting / missing function squirrel
« on: May 28, 2011, 10:44:54 pm »
 Hi , i was looking for a missing function for the command /c ban . The cmd is complete, but when u ban someone , them when the banned player re join the server , didn't kick him (autokick - reason - banned account) . So need the function IsBanned( player ) for this :

 
Code: [Select]
function onPlayerJoin( player )
{
if ( IsBanned( player ) == 1 ) Kick( player, "auto", "Banned account" );

 }

I need this function for squirrel with Hash  :-\
                                                                                               Thx  ;)





                         

53
mIRC/pawn Scripting / Re: BUILD MODE?
« on: May 21, 2011, 09:24:59 am »
Is bugged at the moment for R2 ...
       









54
mIRC/pawn Scripting / Re: !goto 5 secs
« on: May 18, 2011, 09:50:15 pm »
Just use a timmer .. I will give you an example..

[pawn]
   if (strcmp(cmd, "!goto", true) == 0) {
      tmp = strtok(cmdtext, idx);
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
      else if(!strlen(tmp)) SendClientMessage(playerid, COLOR_GREY, "Usage: !goto [Nick/ID]");
      else {
          new plr = FindPlayerIDFromString(tmp);
          if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_GREEN,"Error: Unknown player");
          else if (PlayerInfo[plr][NoGoto] == 1) SendClientMessagef(playerid,COLOR_GREEN, "%s has goto Disabled.",strval(gPlayers[plr]));
          else if (!IsPlayerSpawned(plr)) SendClientMessagef(playerid,COLOR_GREEN, "Error: %s does not spawned!",gPlayers[plr]);
          else {
            GetPlayerPos(plr,x,y,z);
            SetPlayerPos(playerid,x,y + 1.0,z,0,0);
            format(szMsg,sizeof(szMsg),"Teleporting:[ %s ] to:[ %s ]",gPlayers[playerid],gPlayers[plr]);
            SendClientMessageToAll(COLOR_GREEN, szMsg);
                                                                SetTimer("EVADE",5000,1);
                                                                TogglePlayerControllable(playerid,0);
                                                                GameTextForPlayer(playerid,"~w~teleporting..");
                                                                SendClientMessage(playerid,COLOR_JOIN,"Please wait 5 seconds to teleport for no evading.");
         }
      }
      return 1;[/pawn]

Them on PlayerFunction ...
[pawn]
public EVADE()
{
SendClientMessageToAll(COLOR_GREEN,"You has been teleported!");
TogglePlayerControllable(playerid,1);
}[/pawn]

55
mIRC/pawn Scripting / Re: !goto 5 secs
« on: May 18, 2011, 06:57:35 pm »
pwn or squirrel ?

56
mIRC/pawn Scripting / Re: I Need Hunting Arena Script
« on: May 10, 2011, 03:29:01 am »
LOL!!  just in your dreams dude  :P it's impossible to get copies of scripts like Hunting or XE . Try to create one by your own  ;)

57
mIRC/pawn Scripting / Re: HELP with MIRC SCRIPT
« on: May 01, 2011, 11:42:26 pm »
Use squirrel .... you can make the same as mirc , and is much easier .

58
omfg , if i had taken the commando from squirrel wiki , i would't post here -.-

59
copy & paste ? lol  i created no stealing
i didn't see that example thijin O.O . totally coincidence

60
yea it works lol  ;D

Pages: 1 2 3 [4] 5 6 ... 8