SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 128
Search took 0.00 seconds.
Search: Posts Made By: Koreadars
Forum: Scripting Help 05/07/2019, 06:43 PM
Replies: 4
Views: 102
Posted By Koreadars
Re: Sublime Text 3

Because it doesn't work that way. :-)
Forum: Scripting Help 01/07/2019, 07:18 PM
Replies: 5
Views: 151
Posted By Koreadars
Re: Undefined please help

if(vonszol(playerid) > -1 && vonszolva[vonszol(playerid)] == 1)
Or:
if(vonszol[playerid] > -1 && vonszolva[vonszol[playerid]] == 1)
Forum: Scripting Help 30/06/2019, 05:50 AM
Replies: 4
Views: 101
Posted By Koreadars
Re: VIP disabled

You can make it like:

if(PlayerInfo[playerid][VipTime] >= gettime() && PlayerInfo[playerid][VipTime] != 0)
{
SendClientMessage(playerid, -1, "END VIP!!");
...
Forum: Scripting Help 28/06/2019, 07:42 AM
Replies: 8
Views: 144
Posted By Koreadars
Re: Run time error 19: "File or function is not found"

Exactly. Use the newest streamer plugin.
Forum: Scripting Help 28/06/2019, 03:02 AM
Replies: 8
Views: 144
Posted By Koreadars
Re: Run time error 19: "File or function is not found"

Use nativechecker plugin and send the server log.
Forum: Scripting Help 22/06/2019, 10:20 AM
Replies: 4
Views: 96
Posted By Koreadars
Re: How to set time for a command

Yes, guys, exactly what I've written.
SiaReyes, u forgot a ';' after setting the variable.
Forum: Scripting Help 21/06/2019, 06:43 PM
Replies: 4
Views: 96
Posted By Koreadars
Re: How to set time for a command

Make:
- Timer and variable (set it to 1 in CMD, then in the timer set it to 0)
Or:
- Set the variable to gettime() + x and check in the CMD if it's the time set in the variable.
Forum: Scripting Help 21/06/2019, 12:35 PM
Replies: 2
Views: 82
Posted By Koreadars
Re: player in front of player

https://forum.sa-mp.com/showthread.php?t=573961
native IsPlayerFacingPlayer(playerid, targetid, Float:range = 10.0);
Forum: Scripting Help 19/06/2019, 01:55 PM
Replies: 3
Views: 102
Posted By Koreadars
Re: Help ME!

If it's not there, why don't you use another one????
Forum: Scripting Help 18/06/2019, 10:58 AM
Replies: 5
Views: 162
Posted By Koreadars
Re: [HELP] Player skin not saving

INI_WriteInt(File,"Skin", GetPlayerSkin(playerid));
Forum: Scripting Help 18/06/2019, 10:53 AM
Replies: 3
Views: 122
Posted By Koreadars
Re: DIALOG_STYLE_TABLIST_HEADERS

format(string2, sizeof(string2), "Team\tLevel\tWarnings\n%s", string);
Forum: Scripting Help 18/06/2019, 04:43 AM
Replies: 1
Views: 103
Posted By Koreadars
Re: hello guys can you help me

Simply, get the Progress2 include and put it into the '/pawno/includes' folder.
Forum: Scripting Help 16/06/2019, 05:58 AM
Replies: 2
Views: 125
Posted By Koreadars
Re: Need those includes

If you need them, find them. This is not the purpose of the section. And to be honest I think you can't find some of them, but as I see the names, the functions will be easy.
Forum: Scripting Help 15/06/2019, 02:42 PM
Replies: 4
Views: 173
Posted By Koreadars
Re: Play mp3 for player from a certain point

You can even upload the song on web and even stream it. Just you have to know how. :-P
Forum: Scripting Help 15/06/2019, 10:50 AM
Replies: 3
Views: 132
Posted By Koreadars
Re: Help

OnPlayerTakeDamage and check if player is alive, if not, don't give dmg.
Forum: Scripting Help 14/06/2019, 05:24 AM
Replies: 5
Views: 174
Posted By Koreadars
Re: Smart CMD help

Don't forget this:

if(i == cmdid) continue; //not add /acmds (if you'll be checking level)
if(IsCommandAlternate(i)) continue; // if /car has /c alternative, won't be added
Forum: Scripting Help 13/06/2019, 06:50 AM
Replies: 10
Views: 313
Posted By Koreadars
Re: Price or item does not update

ReturnItemPrice(itemid)
{
new rtnval;
switch(itemid)
{
case 0: rtnval = 500;
case 1: rtnval = 10000;
case 2: rtnval = 1500;
case 3: rtnval = 500;
case 4: rtnval = 200;
Forum: Discussion 12/06/2019, 06:00 AM
Replies: 14
Views: 772
Posted By Koreadars
Re: Which CMD system are you using?

i-zcmd, SmartCMD and Pawn.CMD have a better optimalitation and the same usage. So why not some of them?
Forum: Scripting Help 12/06/2019, 04:48 AM
Replies: 2
Views: 131
Posted By Koreadars
Re: Help [Double Amount]

Then give him a half of what you want to give him. If there's gonna be still 25% more, the function is used elsewhere.
Forum: Scripting Help 12/06/2019, 04:46 AM
Replies: 10
Views: 313
Posted By Koreadars
Re: Price or item does not update

Remove the 'return 1;'.
Forum: Scripting Help 12/06/2019, 04:34 AM
Replies: 1
Views: 131
Posted By Koreadars
Re: How do I lookup an IP using this? +REP

Get the URL where it's sending the req and use it elsewhere.

Example:

CMD:geoip(playerid, params[]){
new ip[25];
if(sscanf(params, "s", ip)) return SendClientMessage(playerid, -1,...
Forum: Scripting Help 12/06/2019, 04:32 AM
Replies: 5
Views: 143
Posted By Koreadars
Re: help me dialog problem

Everything is possible! :-)
Forum: Scripting Help 11/06/2019, 06:30 PM
Replies: 5
Views: 143
Posted By Koreadars
Re: help me dialog problem

Or simply always do:

strcat(xxx, "\n");

:D
Forum: Scripting Help 11/06/2019, 08:50 AM
Replies: 7
Views: 190
Posted By Koreadars
Re: ShowPlayerDialog ID NECESSARY?

Yes, you can. But without numbers the values are: 0, 1, 2...
Forum: Scripting Help 11/06/2019, 03:36 AM
Replies: 1
Views: 85
Posted By Koreadars
Re: Crash player

You have to get the method of crashing on your own. No one will tell you his own method for free.
Showing results 1 to 25 of 128

 

All times are GMT. The time now is 04:43 PM.


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