SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 03/01/2018, 06:25 PM   #421
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: Oblivion
Posts: 1,485
Reputation: 263
Default Re: Suggestions for 0.3.8

Quote:
Originally Posted by RogueDrifter View Post
Wtf it does? does it crash player or server?
Of course the player, since the server has nothing to do with the GTA SA.
__________________
Logic_ is offline   Reply With Quote
Old 03/01/2018, 06:29 PM   #422
RogueDrifter
High-roller
 
RogueDrifter's Avatar
 
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,529
Reputation: 326
Default Re: Suggestions for 0.3.8

Oh i had no clue thanks guys +rep... edit: in 24 hours.
__________________
Code:
I'm available to script stuff for cash PM me here or on discord @ Andy[RDZ]#0040
[Tutorial]:Anti-cheat guide ||Mini-game 101||VC/LC maps install||
Array index out of bounds


[Github]:Link [Pastebin]:Link [Forum]:Link [Server]:Link [Discord]:Link




Code:
You may only contact me through the links on my signature, if else then its an impersonating one, i am not on any other place not mentioned in my signature.
RogueDrifter is offline   Reply With Quote
Old 03/01/2018, 09:40 PM   #423
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,938
Reputation: 955
Default Re: Suggestions for 0.3.8

Quote:
Originally Posted by Willson View Post
Weapons with 0 ammo remain in the player, just like on SinglePlayer.
http://wiki.sa-mp.com/wiki/SetPlayerAmmo
adri1 is offline   Reply With Quote
Old 05/01/2018, 12:40 AM   #424
Misiek.
Little Clucker
 
Join Date: Dec 2010
Location: Sosnowiec
Posts: 2
Reputation: 0
Default Re: Suggestions for 0.3.8

Disable CLEO - probably easy to do - and all true players would be happy. There are more disadventages than adventages.
Misiek. is offline   Reply With Quote
Old 06/01/2018, 05:53 PM   #425
RogueDrifter
High-roller
 
RogueDrifter's Avatar
 
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,529
Reputation: 326
Default Re: Suggestions for 0.3.8

PHP Code:
IsPlayerUsingCustomSkin(playerid); 
__________________
Code:
I'm available to script stuff for cash PM me here or on discord @ Andy[RDZ]#0040
[Tutorial]:Anti-cheat guide ||Mini-game 101||VC/LC maps install||
Array index out of bounds


[Github]:Link [Pastebin]:Link [Forum]:Link [Server]:Link [Discord]:Link




Code:
You may only contact me through the links on my signature, if else then its an impersonating one, i am not on any other place not mentioned in my signature.
RogueDrifter is offline   Reply With Quote
Old 06/01/2018, 05:58 PM   #426
RogerCosta
Huge Clucker
 
RogerCosta's Avatar
 
Join Date: Aug 2014
Location: Santos, Brazil.
Posts: 326
Reputation: 88
Default Re: Suggestions for 0.3.8

Quote:
Originally Posted by RogueDrifter View Post
PHP Code:
IsPlayerUsingCustomSkin(playerid); 
Kalcor
Quote:
SA-MP 0.3.8 RC4 Client/Server update
- Adds GetPlayerCustomSkin() function.
RogerCosta is offline   Reply With Quote
Old 06/01/2018, 07:17 PM   #427
RogueDrifter
High-roller
 
RogueDrifter's Avatar
 
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,529
Reputation: 326
Default Re: Suggestions for 0.3.8

Okay i got it, it does return 0 if no skin is used, cmd used in test:
PHP Code:
CMD:getskin(playerid,params[])
{
    new 
pID,zstring[5];
    if (
sscanf(params"r"pID)) return SendClientMessage(playeridCOLOR_GRAD1"INFO: /getskin [PlayerID/Name]");
    if (
pID == INVALID_PLAYER_ID) return SendClientMessage(playeridCOLOR_GRAD1"Player not found.");
    
format(zstring,sizeof(zstring),"%d",GetPlayerCustomSkin(pID));
    
SendClientMessage(playerid,-1,zstring);
    return 
1;

so i came to the conclusion that this should work thanks to kalcor for this of course wouldn't have been possible without GetPlayerCustomSkin because GetPlayerSkin returns the base id.
PHP Code:
stock IsPlayerUsingCustomSkin(playerid)
{
    if(
GetPlayerCustomSkin(playerid) <=0) return 0;//<= just for sanity checks but ==0 also works.
    
else return 1;

EDIT: A quick suggestion please please! give us the ability to hide the spam of artwork:crc in the server logs my logs reached 6 mgbs on the offline server...
__________________
Code:
I'm available to script stuff for cash PM me here or on discord @ Andy[RDZ]#0040
[Tutorial]:Anti-cheat guide ||Mini-game 101||VC/LC maps install||
Array index out of bounds


[Github]:Link [Pastebin]:Link [Forum]:Link [Server]:Link [Discord]:Link




Code:
You may only contact me through the links on my signature, if else then its an impersonating one, i am not on any other place not mentioned in my signature.

Last edited by RogueDrifter; 06/01/2018 at 07:52 PM.
RogueDrifter is offline   Reply With Quote
Old 07/01/2018, 02:15 PM   #428
stabker
High-roller
 
stabker's Avatar
 
Join Date: Mar 2012
Location: Andromeda Galaxy
Posts: 1,320
Reputation: 86
Default Re: Suggestions for 0.3.8

TogglePlayerHitAnims - enables or disables bullet hit animations for players.
stabker is offline   Reply With Quote
Old 08/01/2018, 07:07 AM   #429
mishazver
Little Clucker
 
Join Date: Dec 2013
Posts: 10
Reputation: 0
Default Re: Right click TextDraw

Add in the OnPlayerClickTextDraw/OnPlayerClickPlayerTextDraw tracking clicking on RMB
mishazver is offline   Reply With Quote
Old 09/01/2018, 03:50 PM   #430
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 494
Reputation: 56
Default Re: Suggestions for 0.3.8

Ability to remove vehicle's parts(such as chassis,exhaust,etc)
__________________
Dice_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestions.. Kyance General 2 26/03/2014 03:20 PM
Suggestions for SA-MP 0.4 Arjanz General 2 17/03/2014 03:00 PM
Post suggestions in the 0.3e suggestions topic Kalcor Scripting Help 0 06/03/2012 09:00 AM
Suggestions Rivera Help Archive 7 14/03/2011 02:32 PM
In Need of suggestions! Code_Red Everything and Nothing 4 11/01/2011 06:46 PM


All times are GMT. The time now is 12:48 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.