SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 390
Search took 0.01 seconds.
Search: Posts Made By: Affan
Forum: Server Support 22/02/2019, 05:35 PM
Replies: 14,465
Views: 1,757,899
Posted By Affan
Re: Looking for scripters/helpers? Post here!

Looking for a server for me to host with hosted tab and stuff, will provide domain expenses as well. Basically all financial expenses will be handled by me.

I've coding experiences in PAWN, C#,...
Forum: Scripting Help 25/05/2017, 10:34 AM
Replies: 1
Views: 536
Posted By Affan
Re: How to get player vehicle speed?

GetVehicleSpeed(vehicleid)
{
new Float:vx, Float:vy, Float:vz, Float:vel;
vel = GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);
vel =...
Forum: Scripting Help 25/05/2017, 10:31 AM
Replies: 11
Views: 987
Posted By Affan
Re: impl.inc Error

Um try to update YSI to the latest.
Forum: Scripting Help 24/05/2017, 11:34 AM
Replies: 8
Views: 327
Posted By Affan
Re: Why tag mistmatch?

Which line exactly and which error, because the resolution by AbyssMorgan should fix it.
Forum: Scripting Help 24/05/2017, 07:37 AM
Replies: 5
Views: 478
Posted By Affan
Re: Help me fast.

Oh thanks, you learn a new thing everyday!
Forum: Scripting Help 23/05/2017, 05:00 PM
Replies: 16
Views: 1,035
Posted By Affan
Re: Server crash on command

Try put a print before initializing a new function to debug which piece of code is actually crashing the server.
Forum: Scripting Help 23/05/2017, 04:57 PM
Replies: 5
Views: 575
Posted By Affan
Re: local variable "rz" shadows a variable at a preceding level

Did you declare "rx" "ry" "rz" anywhere else?
Forum: Scripting Help 23/05/2017, 04:55 PM
Replies: 5
Views: 478
Posted By Affan
Re: Help me fast.

if(strlen(inputtext) > 0)


Try this. I guess you are trying to check if the inputtext has any characters whatsoever. So by adding greater than 0, it will check if inputtext has any text at all.
Forum: Scripting Help 23/05/2017, 04:48 PM
Replies: 4
Views: 508
Posted By Affan
Re: problem with YSI\YSI_Data\y_foreach

Did you include it? Also could you show us the exact error please?
Forum: Scripting Help 23/05/2017, 04:45 PM
Replies: 1
Views: 266
Posted By Affan
Re: Error 001 and 035

You need to include the database handler before the query.
Forum: Scripting Help 23/05/2017, 04:40 PM
Replies: 5
Views: 1,282
Posted By Affan
Re: [Help] Sublime Text3

You probably declared a public variable named "i" and then declared it again somewhere else. Try re-naming the private variables to another rather than the same variable name.

As Vince noted, this...
Forum: Server Support 23/05/2017, 01:39 PM
Replies: 13
Views: 1,153
Posted By Affan
Re: Server closes itself after hours (Centos 7)

Don't run xSF gamemode if you can't script. lmao
Forum: Scripting Help 20/08/2016, 08:07 PM
Replies: 7
Views: 591
Posted By Affan
Re: Shooting while on bike

Remove


if(IsPlayerInAnyVehicle(playerid))
{
SetPlayerArmedWeapon(playerid, 0);
}
Forum: Scripting Help 20/08/2016, 04:05 PM
Replies: 15
Views: 1,184
Posted By Affan
Re: Anti text spam

new LastMsg[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
LastMsg[playerid] = 0;
}

public OnPlayerText(playerid, text[])
{
if(strfind(LastText[playerid], text, false) != -1)
Forum: Scripting Help 12/10/2015, 08:52 PM
Replies: 4
Views: 306
Posted By Affan
Re: MySQL error

Show the function MySQL_Login, 1456 and 5470
Forum: Scripting Help 07/10/2015, 08:30 AM
Replies: 2
Views: 411
Posted By Affan
Re: Mysql Tutorial

http://forum.sa-mp.com/showthread.php?t=485633

This should help you out!
Forum: Scripting Help 07/10/2015, 08:28 AM
Replies: 11
Views: 759
Posted By Affan
Re: Small help

new stats[128];
mysql_format(mConnectionHandle, stats, sizeof(stats), "UPDATE ServerStats SET TotalAccounts = TotalAccounts + 1");
mysql_tquery(mConnectionHandle, stats);
Forum: Scripting Help 07/10/2015, 08:22 AM
Replies: 6
Views: 358
Posted By Affan
Re: HELP!

What? What are your errors? Code?

Explain?
Forum: Scripting Help 06/10/2015, 06:32 PM
Replies: 6
Views: 522
Posted By Affan
Re: help me again!

Lmao, I haven't slept in days. Sorry for my mistake, as the guys said above you might have an anti-cheat.
Forum: Scripting Help 06/10/2015, 02:19 PM
Replies: 2
Views: 344
Posted By Affan
Re: engine system

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(IsPlayerInAnyVehicle(playerid))
{
if(newkeys == KEY_JUMP) // Left Shift
{
new engine, lights, alarm, doors, bonnet, boot,...
Forum: Scripting Help 06/10/2015, 02:13 PM
Replies: 6
Views: 522
Posted By Affan
Re: help me again!

CMD:prize(playerid,params[])
{
if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid, COLOR_ERROR,"[ERROR]:you are not rcon admin");
new targetid,str[75],ammount,pname[MAX_PLAYER_NAME];...
Forum: Scripting Help 06/10/2015, 10:11 AM
Replies: 7
Views: 699
Posted By Affan
Re: Need help with Streamer object

When you put your maps, set it to all other worlds except world 10.
Forum: Scripting Help 06/10/2015, 10:06 AM
Replies: 5
Views: 1,278
Posted By Affan
Re: Problem with TextDraw. It appears on the screen without being called

Change

TextDrawHideForPlayer(playerid, TextLogin0);
TextDrawHideForPlayer(playerid, TextLogin1);
TextDrawHideForPlayer(playerid, TextLogin2);
TextDrawHideForPlayer(playerid,...
Forum: Scripting Help 06/10/2015, 10:01 AM
Replies: 9
Views: 698
Posted By Affan
Re: HELP[REP+]

cmd(stream, playerid, params[])
{
if(Account[playerid][Dj] == 1)
{
new url[60];
if(sscanf(params, "s[60]", url)) return SendClientMessage(playerid, -1, "Usage: /stream...
Forum: Scripting Help 22/09/2015, 08:33 AM
Replies: 7
Views: 581
Posted By Affan
Re: This code crashwing pawno

format(modestring,sizeof(modestring),"mapname %s",ModeNames[randmode]);
Showing results 1 to 25 of 390

 

All times are GMT. The time now is 01:10 PM.


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