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 - SkillzVice-City

Pages: [1]
1
mIRC/pawn Scripting / Re: WorldBound in Prawn Islan?
« on: April 30, 2012, 09:47:16 pm »
[pawn]

public OnGameModeInit()
{
SetWorldBounds(129.2857, -198.0357, 1316.25, 821.7857);

}
return 1;
}
[/pawn]



2
mIRC/pawn Scripting / Re: How to avoid crashes *?
« on: April 30, 2012, 02:26:27 pm »
[pawn]
public IsInvalidChar( c[ ] )
{
   if (strfind(c, "*", true) != -1 ||
       strfind(c, "?", true) != -1 ||
       strfind(c, ">", true) != -1 ||
       strfind(c, "<", true) != -1 ||
       strfind(c, "ยก", true) != -1 ||
       strfind(c, "/", true) != -1) return 1;
   if (isNumeric(c)) return 1;
        else return 0;
    return 1;
 }


public NickPlayerChar(playerid)
{
    if(IsInvalidChar(PlayerName(playerid))) {
      new str[256];
      format(str,256,"*Auto-kick %s reason: [Invalid Nick-name]", PlayerName(playerid));
      SendClientMessageToAll(RED,str);
      Kick(playerid);
   }
}




stock PlayerName(playerid)
{
      new name[24];
      GetPlayerName(playerid,name,24);
      return name;
}





[/pawn]

[pawn]

public OnPlayerConnect(playerid)
{
NickPlayerChar(playerid);
return 1;
}
[/pawn]

made by Madara

3
mIRC/pawn Scripting / Re: How to use this help!
« on: April 27, 2012, 04:09:49 pm »
[pawn]AddStaticPickup(id,TypePickup,Coord1,coord2,coord3);[/pawn]

examble:
                                   
[pawn]AddStaticPickup(1,366,387.6998,-499.4460,9.3956); // Health[/pawn]

4
mIRC/pawn Scripting / Hey! Help me
« on: April 16, 2012, 05:24:37 pm »
how  use "SendDeathMessage"

[pawn]SendDeathMessage(killer,killee,weapon);[/pawn]

help plz


5
mIRC/pawn Scripting / Re: HOW?
« on: April 12, 2012, 01:04:31 am »
Thanks you seeby  ;)

6
mIRC/pawn Scripting / HOW?
« on: April 12, 2012, 12:28:37 am »
MENS please

give me

cmd /c engine on , /C engine off plz!!


7
mIRC/pawn Scripting / Hey , Hlp
« on: April 11, 2012, 05:40:24 pm »
Hey , Need Help Look...

[pawn]#define Black 0x00000//  This Define Color [/pawn]

[pawn]    if (strcmp(cmd, "Black", true) == 0)
   {
     SetPlayerColor(playerid, Black);
     return 1;
[/pawn]

Not WORK why reason?.  :(

Pages: [1]