SA-MP Forum
November 21, 2009, 12:28:07 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hosted tab listings available from serverFFS
 
   Home   Help Login Register  
Pages: 1 ... 21 22 [23] 24 25 ... 37
  Print  
Author Topic: Suggestions For Future Sa:MP Versions.  (Read 9947 times)
Mikep.
Huge Clucker
***
Posts: 278


View Profile WWW
« Reply #330 on: November 03, 2009, 09:27:15 am »

Texture mods are fine, but do you know how annoying it is when someone has a vehicle mod that makes you see them 4 meters under the road? It's annoying.

I have played SA:MP for over 3 years without any mods at all, and i'm not planning on changing that any time soon.

Just play the game.
Logged

$€ЯĢ
Gangsta
****
Posts: 935



View Profile
« Reply #331 on: November 03, 2009, 09:29:11 am »

I don't know why you bother yourself with making such suggestions as serverside mods. It's obvious that Kye wants to keep SA:MP as simple as possible and being able to be run on majority of computers without problems.
Logged


$€ЯĢ recommends:
ZCMD (by ZeeX) - the fastest & the simplest command processor
Sscanf (by Y_Less) - the easiest way of splitting
foreach (by Y_Less) - the fastest & the most efficient loops
Streamer Plugin (by Incognito) - the most perfect & the fastest all-in-one streamer
MySQL Plugin R2 (by G-sTyLeZzZ) - the only fully working way to replace slow files
(|Mad_hero|)
Big Clucker
**
Posts: 81



View Profile WWW
« Reply #332 on: November 03, 2009, 01:13:05 pm »

I was just thinking as i have seen nothing on this but i think a good idea is somthing like ChangeObject();

E.g.

Code:
OnFilterScriptInIt();
{
       Object1 = CreateObject(976, 209.968201, 1875.333862, 12.308869...);

       return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/object1", cmdtext, true, 1) == 0)
{
ChnageObject(object1, 980);
return 1;
}

That will make it change object, im thinking somthing like that can help Role play & Cops n robbers servers with bank/shop robbing,

I know its pointless but i think it will be good (i dont know if it will be able to be done or nothing but it got somthing for RP and c n' r)
Logged


Daniel_Johnson
Little Clucker
*
Posts: 1


View Profile
« Reply #333 on: November 03, 2009, 01:35:24 pm »

Is shooting from car with a AK47/M4/shotgun/deagle possible?If not it would be cool to make
Logged
Mikep.
Huge Clucker
***
Posts: 278


View Profile WWW
« Reply #334 on: November 03, 2009, 02:13:25 pm »

I was just thinking as i have seen nothing on this but i think a good idea is somthing like ChangeObject();

E.g.

Code:
OnFilterScriptInIt();
{
       Object1 = CreateObject(976, 209.968201, 1875.333862, 12.308869...);

       return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/object1", cmdtext, true, 1) == 0)
{
ChnageObject(object1, 980);
return 1;
}

That will make it change object, im thinking somthing like that can help Role play & Cops n robbers servers with bank/shop robbing,

I know its pointless but i think it will be good (i dont know if it will be able to be done or nothing but it got somthing for RP and c n' r)
GetObjectPos
GetObjectRot
DestroyObject
CreateObject
Logged

BeckzyBoi
High-roller
*****
Posts: 4073


View Profile
« Reply #335 on: November 03, 2009, 02:20:20 pm »

SetObjectIndestructibility(objectid, bool)
SetPlayerObjectIndestructibility(playerid, playerobject, bool)
Logged




Mikep.
Huge Clucker
***
Posts: 278


View Profile WWW
« Reply #336 on: November 03, 2009, 02:24:07 pm »

^Only if some callbacks are added that are called when an object is destroyed :<
Logged

Remi-X
Huge Clucker
***
Posts: 270



View Profile
« Reply #337 on: November 04, 2009, 12:00:04 am »

-TextDrawSetStringForPlayer(playerid, Text:text, const string[]); //I've suggested this one earlier in the old topic. It would do exaclty the same as TextDrawSetString, but this one alows you to edit a string just for one player. Would be good to use less textdraws that are meaned for a player.
PAWN Code:
new Text:TextDraw[MAX_PLAYERS];
public OnPlayerConnect(playerid){
    TextDraw[playerid] = TextDrawCreate(...);
    return 1;
}
public MyTimedCallback(){
    for(new i=0; i<MAX_PLAYERS; i++){
        TextDrawSetString(TextDraw[i], "Hi");
    }
}
Would make for al FULL server 500 TextDraws O.o So you can use 4 textdraws like this.
PAWN Code:
new Text:TextDraw;
public OnGameModeInit(){
    TextDraw = TextDrawCreate(...);
}
public MyTimedCallback(){
    for(new i=0; i<MAX_PLAYERS; i++){
        TextDrawSetStringForPlayer(i, TextDraw, "Hi");
    }
}
Would create just ONE textdraw for all players! So you can use 2048 of them, each player based! Wouldn't that be great?
« Last Edit: November 04, 2009, 12:01:52 am by Remi-X » Logged


A stealth server based on the variant of MTA.
Questions or suggestions? PM Me Smiley
-Current progress of script: 75%
-Current count of maps: 13
-Map modes progress: 1%
-Beta Testing soon.
[FS]Remi-X Time Tools V2.0
Mikep.
Huge Clucker
***
Posts: 278


View Profile WWW
« Reply #338 on: November 04, 2009, 01:00:41 am »

Or even better, TextDrawCreateForPlayer etc.

That would be useful indeed.
Logged

Shady91
High-roller
*****
Posts: 1334



View Profile WWW
« Reply #339 on: November 04, 2009, 03:20:03 am »

-TextDrawSetStringForPlayer(playerid, Text:text, const string[]); //I've suggested this one earlier in the old topic. It would do exaclty the same as TextDrawSetString, but this one alows you to edit a string just for one player. Would be good to use less textdraws that are meaned for a player.
PAWN Code:
new Text:TextDraw[MAX_PLAYERS];
public OnPlayerConnect(playerid){
    TextDraw[playerid] = TextDrawCreate(...);
    return 1;
}
public MyTimedCallback(){
    for(new i=0; i<MAX_PLAYERS; i++){
        TextDrawSetString(TextDraw[i], "Hi");
    }
}
Would make for al FULL server 500 TextDraws O.o So you can use 4 textdraws like this.
PAWN Code:
new Text:TextDraw;
public OnGameModeInit(){
    TextDraw = TextDrawCreate(...);
}
public MyTimedCallback(){
    for(new i=0; i<MAX_PLAYERS; i++){
        TextDrawSetStringForPlayer(i, TextDraw, "Hi");
    }
}
Would create just ONE textdraw for all players! So you can use 2048 of them, each player based! Wouldn't that be great?
you can do this your self as i have my somthing like this on my server for a news textdraw.
Logged

[FS] Filterscripts

[FS] Police Gates & Compound
[FS] Moving Text Draw
[FS] Weed System
[FW-RP] Free World Role Play                  

[FW-RP] Music                 
Misc.                               

[MISC] How long I have to live
67.159.63.28:7778
Don Correlli
High-roller
*****
Posts: 3783



View Profile WWW
« Reply #340 on: November 04, 2009, 04:26:08 am »

CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, bool:SOM)

AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, bool:SOM)

AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay, bool:SOM)

SOM = Show on map : true / false. It should be true by default.

If you set SOM to false then you won't see the vehicle marker on the map/radar.
Logged


(Completed: 85.0%)
(One of the best roleplaying scripts with unique features. This script is not The Godfather edit, it's written from scratch.)

(The SA:MP Balcan community)
You can write PMs to me in slovenian, croatian/serbian, english or italian language.
Don't pm me for scripting help, you have scripting-board for that.
Don't add me on msn if you want me to join your Scripting Team (i'm not interested).
Diablosrouge
Huge Clucker
***
Posts: 228


View Profile WWW
« Reply #341 on: November 04, 2009, 05:05:59 am »

CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, bool:SOM)

AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, bool:SOM)

AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay, bool:SOM)

SOM = Show on map : true / false. It should be true by default.

If you set SOM to false then you won't see the vehicle marker on the map/radar.
Very useful indeed.
Logged



Ok then, do u guys know where i can get help with building a roleplay server
There is always a freind named "Search", He helped me with building me server. Smiley

Im New To Forum So I Dont Have Any Friends
My monitor smells like garbage and cat poops now Sad
Remi-X
Huge Clucker
***
Posts: 270



View Profile
« Reply #342 on: November 04, 2009, 05:11:12 am »

Addition @ Vehicles bool: that parameter must be not required. Can be left. Otherwise you need to add that on all of your vehicles.
you can do this your self as i have my somthing like this on my server for a news textdraw.
W00t, if you really did, how do you did it? Isn't it impossible to increase the amount of textdraws with just a script? I think that is impossible, or you must edit the SA:MP server itself. So what you say can't be possible, I think.
Logged


A stealth server based on the variant of MTA.
Questions or suggestions? PM Me Smiley
-Current progress of script: 75%
-Current count of maps: 13
-Map modes progress: 1%
-Beta Testing soon.
[FS]Remi-X Time Tools V2.0
Mikep.
Huge Clucker
***
Posts: 278


View Profile WWW
« Reply #343 on: November 04, 2009, 08:55:33 am »

I wouldn't make it SOM, imagine all the "WATH BE SOM I NED HLP PLZ" topics.. 'blip' or something would be better.
Logged

[03]Garsino
Huge Clucker
***
Posts: 385



View Profile WWW
« Reply #344 on: November 04, 2009, 10:44:49 am »

HideVehicleBlipsForPlayer(playerid,0/1); // 0= False 1=True

EDIT: -.-
« Last Edit: November 04, 2009, 10:48:56 am by [03]Garsino » Logged

Pages: 1 ... 21 22 [23] 24 25 ... 37
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF one | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!