SA-MP Forums Archive
0.3e Suggestions - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 0.3e Suggestions (/showthread.php?tid=323377)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


Re: 0.3e Suggestions - Partner - 24.03.2012

Suggestion #1:

PlayLoopAudioStreamForPlayer(playerid, URL[]);

- Makes songs that being streamed from URL looped (When the song over, start it again)

Suggestion #2:

TextDrawURLTexture(Float:X, Float:Y, URL[]);

- Load pictures from URL.


Re: 0.3e Suggestions - Finn - 24.03.2012

Quote:
Originally Posted by Tannz0rz
Посмотреть сообщение
Now rip that function out of your pile of code and turn it into a working PAWN function or it won't help me at all. lmao


Re: 0.3e Suggestions - azen - 24.03.2012

add plz arm wrestling animation

P.S. sorry, short message


Re: 0.3e Suggestions - Infamous - 24.03.2012

Please make the scoreboard toggleable!


Re: 0.3e Suggestions - IstuntmanI - 24.03.2012

Yes, can be made with a loop, but a big one, default is better:
Код:
native GetVehicleDriver( vehicleid ); // returns playerid, INVALID_PLAYER_ID if vehicle don't have driver
Very useful for sumo servers:
Код:
forward OnVehicleTouchVehicle( vehicleid, touchedvehicleid );
EDIT:
With these functions we can make a nice solitaire game:
Код:
native TextDrawAttachToMouse( Text:text, playerid, Float:OffsetX, Float:OffSetY );
native PlayerTextDrawAttachToMouse( Text:text, playerid, Float:OffsetX, Float:OffSetY );



Re: 0.3e Suggestions - DRIFT_HUNTER - 24.03.2012

pawn Код:
public OnAudioStreamForPlayerStart(playerid)
public OnAudioStreamForPlayerStop(playerid)
native SyncAudioStreamForplayer( playerid, fromplayerid);

For example we have two players on server.One player have song playing on 0:50 and other one's is at 0:20
We use these Sync native and sync players audio stream so they both now have playing song at 0:50



Re: 0.3e Suggestions - [Saint] - 24.03.2012

Код:
ShowVehicleOnMap(true/false);
for Hide/Show Vehicles on MiniMap (Radar)

for SPECIAL_ACTION_USECELLPHONE

if use SPECIAL_ACTION_USECELLPHONE show to player hud weapon image cellphone from file gta3.img -> cellphone.txt - > cellphoneicon


Re: 0.3e Suggestions - clavador - 24.03.2012

Very useful I think:

- Ability to kill timers without an id. I used to script for Ultima Online ( it uses C# ) and when you start a timer it has an OnTick() function and you can put inside it this.Stop() or Stop() and it would stop executing.

That would be very useful if could be implemented in SAMP.


Respuesta: Re: 0.3e Suggestions - Harrinston - 24.03.2012

Quote:
Originally Posted by clavador
Посмотреть сообщение
Very useful I think:

- Ability to kill timers without an id. I used to script for Ultima Online ( it uses C# ) and when you start a timer it has an OnTick() function and you can put inside it this.Stop() or Stop() and it would stop executing.

That would be very useful if could be implemented in SAMP.
In my point of view that's useless.


pawn Код:
TogglePlayerRadar(playerid, bool:toggle);



Re: 0.3e Suggestions - Lynn - 24.03.2012

pawn Код:
SetRunningStyleForPlayer(playerid, RunningStyle);//1 or 2. 1 = Cj Run, 2 = Default.
Oh how I would love to see this added.


Re: 0.3e Suggestions - DeathTone - 24.03.2012

GetPlayerRes(playerid)

returns the players resolution setting


Re: 0.3e Suggestions - willsuckformoney - 24.03.2012

Add more/new characters. I think we got all from the game, why not making completely new ones?


Re: 0.3e Suggestions - Garsino - 24.03.2012

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
Add more/new characters. I think we got all from the game, why not making completely new ones?
Because; Kye wants to keep it San Andreas style, not turn it into a completly different game.


Re: 0.3e Suggestions - Kar - 24.03.2012

pawn Код:
OnPlayerWheelMouse(playerid, up, down);
A line of sight function?


Re: 0.3e Suggestions - MP2 - 24.03.2012

Quote:
Originally Posted by DeathTone
Посмотреть сообщение
GetPlayerRes(playerid)

returns the players resolution setting
This is actually a great idea. Hate having to give textdraws a wide birth to chat due to people that use 1x2 resolution.


Re: 0.3e Suggestions - Marsigne - 24.03.2012

i would like to see, a water level system.

first of all, the function.

Код:
SetWaterLevel( level);
and a player itself:

Код:
SetPlayerWaterLevel( playerid, level );
example:

Код:
if (strcmp("/waterlevel", cmdtext, true, 11) == 0)
        {
        SetWaterLevel(20.0);
        }
   return 1;
}
and if with a admin system, example:

Код:
if (strcmp("/waterlevel", cmdtext, true, 11) == 0)
{
   if(IsPlayerConnected(playerid))
   {
     if(PlayerInfo[playerid][pAdmin] >= 2)
     {
        SetWaterLevel(20.0);
     }
     else
     {
       SendClientMessage(playerid, COLOR_RED, "You Can't Use this Command!");
     }
   }
   return 1;
}
with player itself example:

Код:
if (strcmp("/waterlevel", cmdtext, true, 11) == 0)
        {
        SetPlayerWaterLevel(20.0);
        }
   return 1;
}
admin example:

Код:
if (strcmp("/waterlevel", cmdtext, true, 11) == 0)
{
   if(IsPlayerConnected(playerid))
   {
     if(PlayerInfo[playerid][pAdmin] >= 2)
     {
        SetPlayerWaterLevel(20.0);
     }
     else
     {
       SendClientMessage(playerid, COLOR_RED, "You Can't Use this Command!");
     }
   }
   return 1;
}



Re : 0.3e Suggestions - Ultrascipter - 24.03.2012

Easy, useful, practical:

new native = SetVehicleID(vehicleid, VEHID);


Re: 0.3e Suggestions - davve95 - 24.03.2012

Would be awesome to add this: forum.sa-mp.com/showthread.php?t=325248

Download in video description... Would be awesome if a boot could use this dog skin. Add!! ..


AW: 0.3e Suggestions - Drebin - 24.03.2012

EditObject() to be used on objects attached to vehicles.


Re: Re : 0.3e Suggestions - MP2 - 24.03.2012

Quote:
Originally Posted by Ultrascipter
Посмотреть сообщение
Easy, useful, practical:

new native = SetVehicleID(vehicleid, VEHID);
Why..?