Author Topic: news scripts  (Read 2338 times)

0 Members and 1 Guest are viewing this topic.

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
news scripts
« on: July 20, 2012, 04:54:54 am »
[/i]need a code to suit the police station type / c police and make the clothes as the police have you guys help me?

Offline kitt85711

  • Wiseguy
  • **
  • Posts: 72
    • View Profile
Re: news scripts
« Reply #1 on: July 20, 2012, 09:18:37 am »
Sure its easy :P :D. Just make your command either a ! or /c and thats just the message, the function your looking for is, SetPlayerSkin(playerid, skin id);

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: news scripts
« Reply #2 on: July 20, 2012, 06:58:49 pm »
:o  ;DThanks I'll try

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: news scripts
« Reply #3 on: July 24, 2012, 06:59:10 am »
Hi matheus :D i know you using gups and this is the command for you... you have 2 opcion

[pawn]          else if(strcmp(cmd,"policia",true) == 0)
      {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Logueate en tu cuenta." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "Solo level 3 de policia!" );
        else
      {
        GameTextForPlayerBottom(playerid,"~b~ Policia <");
      SetPlayerWeapon(playerid,17,200);
      SendClientMessage(playerid,RED,"Eres policia obtienes una colt");
      SetPlayerPos( playerid, 398.95700, -468.72879, 11.25734,0,0);
        SetPlayerArmour(playerid,100.0);
      SetPlayerSkin(playerid,3);
      }
 return 1;
 }[/pawn]

or you use
[pawn]          else if(strcmp(cmd,"policia",true) == 0)
      {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Logueate en tu cuenta." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "Solo level 3 de policia!" );
      else if ( strcmp( GetPlayerLocation( playerid ), "Police-Station-SE-Washington-Beach-Vice-City-Beach", true ) == 1 ) SendClientMessage( playerid, COLOR_GREEN, "Error: Debes estar al interior de la comisaria cerca de malibu!" );
      else
      {
        GameTextForPlayerBottom(playerid,"~b~ Policia <");
      SetPlayerWeapon(playerid,17,200);
      SendClientMessage(playerid,RED,"Eres policia obtienes una colt");
        SetPlayerArmour(playerid,100.0);
      SetPlayerSkin(playerid,3);
         }
      return 1;
     }[/pawn]
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint