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 - FR0ST4BL3

Pages: [1]
1
mIRC/pawn Scripting / [HELP] Ammu-nation in GUPS 1.16
« on: October 05, 2012, 01:19:32 am »
Guys, can anyone help me with creating an ammu-nation shop in GUPS 1.16? Post here some links or code. Thanks in advance

2
mIRC/pawn Scripting / Re: Can anyone help me ??
« on: October 05, 2012, 12:43:21 am »
Use the following code:
[pawn]public OnPlayerEnterVehicle(playerid,vehicleid)
{
      if ( !IsVehicleForSale(vehicleid) )
      {
         new id, szMsg[ 128 ];
           id = GetPlayerVehicleID( playerid );
         format( szMsg, sizeof( szMsg ), "ID: %d | Vehicle owner: %s | Shared: %s", id, VehicleInfo[ id ][ Owner ], VehicleInfo[ id ][ Share ] );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      else
      {
         new id, szMsg[ 128 ];
         id = GetPlayerVehicleID( playerid );
         format( szMsg, sizeof( szMsg ), "**pm >> You have $%d? Type !buycar %d", VehicleInfo[ id ][ Price ], id );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      return 1;
}[/pawn]

Pages: [1]