SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 43
Search took 0.00 seconds.
Search: Posts Made By: Radless
Forum: Scripting Help 24/04/2020, 05:00 PM
Replies: 3
Views: 174
Posted By Radless
Re: Case dialog_inventory with a for loop

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if (dialogid == DIALOG_INVENTORY1)
{
if(JatekosInfo[playerid][InvSlotDB][listitem] == 0)
...
Forum: Scripting Help 19/04/2020, 08:39 PM
Replies: 6
Views: 279
Posted By Radless
Re: Foreach

Thanks but i need for foreach
Forum: Scripting Help 19/04/2020, 11:38 AM
Replies: 6
Views: 279
Posted By Radless
Re: Foreach

ID: 1 Kills: 23
ID: 2 Kills: 57
ID: 3 Kills: 35

I wanna show like;

57,
35,
23
Forum: Scripting Help 02/04/2020, 06:41 PM
Replies: 3
Views: 155
Posted By Radless
Re: Check Player Angle

Can you show example for IsAngleInRangeOfAngle ?
Forum: Scripting Help 02/04/2020, 05:35 PM
Replies: 3
Views: 155
Posted By Radless
Check Player Angle

How can i check player angle or camera angle like that:


if(IsPlayerAngle(playerid, X, Y))
{

}
Forum: Scripting Help 18/03/2020, 07:45 PM
Replies: 34
Views: 794
Posted By Radless
Re: how to count how many players have joined the dm

GetDMPlayersCount()
{
new count = 0;
foreach(new i : Player)
{
if(dm[i] == 1)
count++;
}
return count;
}
Forum: Scripting Help 24/02/2020, 12:48 PM
Replies: 6
Views: 279
Posted By Radless
Forum: Scripting Help 23/02/2020, 05:44 PM
Replies: 6
Views: 279
Posted By Radless
Foreach

Can i sort my foreach variable?
Forum: Filterscripts 22/02/2020, 12:20 PM
Replies: 67
Views: 37,735
Posted By Radless
Forum: Scripting Help 18/02/2020, 06:06 PM
Replies: 3
Views: 154
Posted By Radless
Re: Looking at a point

stock SetPlayerLookAt(playerid, Float:X, Float:Y)
{
new Float:Px, Float:Py, Float: Pa;
GetPlayerPos(playerid, Px, Py, Pa);
Pa = floatabs(atan((Y-Py)/(X-Px)));
if (X <= Px && Y >= Py) Pa =...
Forum: Scripting Help 16/02/2020, 11:40 AM
Replies: 3
Views: 92
Posted By Radless
Re: Pickup's Destroying On Pick Up

https://cdn.discordapp.com/attachments/478928709361991691/678557825785397268/unknown.png



https://cdn.discordapp.com/attachments/478928709361991691/678557758752161792/unknown.png

What value...
Forum: Scripting Help 16/02/2020, 09:55 AM
Replies: 3
Views: 92
Posted By Radless
Pickup's Destroying On Pick Up

Hello, Pickup disappears when I pass over it.



CreateDynamicPickup(1273, 1, x, y, z, -1, -1, -1, 35.0, -1, 0);
Forum: Scripting Help 08/02/2020, 07:59 AM
Replies: 3
Views: 92
Posted By Radless
Re: help commandOnPlayerKeyStateChange

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & 16)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
...
Forum: Scripting Help 28/01/2020, 07:54 PM
Replies: 2
Views: 162
Posted By Radless
Re: TimestampToDate

stock getDate(timestamp, _form = 0)
{
new year=1970, day=0, month=0, hour=0, mins=0, sec=0;

new days_of_month[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
new...
Forum: Scripting Help 28/01/2020, 04:05 PM
Replies: 5
Views: 270
Posted By Radless
Re: Null Character

Thank you, it worked.
Forum: Scripting Help 28/01/2020, 03:46 AM
Replies: 5
Views: 270
Posted By Radless
Null Character

I maked remove color code from string;

stock RemoveColorFromString(string[])
{
new m[256];

format(m, sizeof m, "%s", string);

for (new i = 0, len = strlen(m); i < len; i ++)
{
Forum: Scripting Help 26/01/2020, 07:10 PM
Replies: 7
Views: 357
Posted By Radless
Forum: Scripting Help 23/01/2020, 02:37 PM
Replies: 7
Views: 357
Posted By Radless
Forum: Scripting Help 22/01/2020, 07:38 PM
Replies: 1
Views: 92
Posted By Radless
Re: HELP cant start home server Streamer plugin fail

Update streamer plugin and include then compile the mode.
Forum: Scripting Help 22/01/2020, 04:25 PM
Replies: 7
Views: 357
Posted By Radless
Forum: Includes 21/01/2020, 02:08 PM
Replies: 1,356
Views: 337,374
Posted By Radless
Re: Nex-AC - Anticheat system

How can i turn off anti-raksamp
Forum: Scripting Help 17/01/2020, 07:25 AM
Replies: 6
Views: 223
Posted By Radless
Re: InterpolateCamera problem

If I helped you, would you give me reputation?

https://cdn.discordapp.com/attachments/478928709361991691/667646064500670486/unknown.png
Forum: Scripting Help 16/01/2020, 03:44 PM
Replies: 6
Views: 200
Posted By Radless
Re: Undefined String Error Please Help!

new string[128];
for(new x;x<sizeof(MechVehicles);x++) {
format(string, sizeof(string), "MECHANIC %d", MechVehicles[x]);
SetVehicleNumberPlate(MechVehicles[x], string);...
Forum: Scripting Help 16/01/2020, 01:24 PM
Replies: 6
Views: 223
Posted By Radless
Re: InterpolateCamera problem

enum cameraEnum
{
Float:cStart[3],
Float:cEnd[3],
MoveMS
}

new cameraData[][cameraEnum] =
{
/* Camera Start Pos X, Y AND Z Camera End Pos X, Y AND Z Camera MoveMS */
Forum: Scripting Help 15/01/2020, 12:24 PM
Replies: 11
Views: 538
Posted By Radless
Re: GPS Plugin

Can you show me usage of functions?
Showing results 1 to 25 of 43

 

All times are GMT. The time now is 06:47 AM.


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