SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 79
Search took 0.00 seconds.
Search: Posts Made By: AmirHossaiN
Forum: Scripting Help 21/12/2017, 09:43 PM
Replies: 10
Views: 838
Posted By AmirHossaiN
Re: cannot show textdraw over another!

yes, i tried it, but didnt work.
Forum: Scripting Help 20/12/2017, 12:47 PM
Replies: 10
Views: 838
Posted By AmirHossaiN
Re: cannot show textdraw over another!

my example code:


OnGameModeInit:

Name = CreateTextDraw(...)
SantaHat = CreateTextDraw(...)
Forum: Scripting Help 20/12/2017, 07:32 AM
Replies: 10
Views: 838
Posted By AmirHossaiN
Re: cannot show textdraw over another!

i tried both, but didnt work!!!!!!!!!!
Forum: Scripting Help 19/12/2017, 07:37 PM
Replies: 10
Views: 838
Posted By AmirHossaiN
Re: cannot show textdraw over another!

it didnt work yet :(( :(:(
Forum: Scripting Help 19/12/2017, 07:18 PM
Replies: 10
Views: 838
Posted By AmirHossaiN
Re: cannot show textdraw over another!

i tried this but it didnt work
Forum: Scripting Help 19/12/2017, 06:52 PM
Replies: 10
Views: 838
Posted By AmirHossaiN
Question cannot show textdraw over another!

Hi guyz.

I want to show a textdraw (previewmodel) on another textdraw (text), but i cant.

I tried create previwmodel after my text textdraw.
...
Forum: Scripting Help 25/05/2016, 08:42 PM
Replies: 3
Views: 481
Posted By AmirHossaiN
Forum: Server Support 20/05/2016, 02:04 PM
Replies: 1
Views: 464
Posted By AmirHossaiN
SAMP Server CPU Informations

hello.

i need samp server cpu usage informations.
example: usage core, thread and ...
os: linux centos 6

(sorry for my bad english)
Forum: Server Support 06/05/2016, 12:11 PM
Replies: 0
Views: 311
Posted By AmirHossaiN
Players crash on ubuntu

hello.

i runned a server on the ubuntu 15 i686.
but when server has more 2 players, all of players crashes from the server.

[07:04:35] [connection] incoming connection: 2.178.113.***:26803 id:...
Forum: Scripting Help 28/01/2016, 11:35 AM
Replies: 0
Views: 469
Posted By AmirHossaiN
Server crash mysql_static.so

hello.

my server crashes every 4 hours.

os: centos 6.7 x86_x64

mysql_static.so and a_mysql are up to date.

crashdetect logs:
Forum: Scripting Help 16/01/2016, 09:14 AM
Replies: 4
Views: 339
Posted By AmirHossaiN
Re: Edit Ingame SA:MP

just, i want to make a multi player program like sa:mp and create special connections to gta_sa.exe with sa:mp liberaries.
Forum: Scripting Help 16/01/2016, 08:50 AM
Replies: 4
Views: 339
Posted By AmirHossaiN
Edit Ingame SA:MP

hello.


i want edit samp working in the game (gta_sa.exe)

examples: edit samp start background - edit take screenshout message - edit sa-mp-x.png or ...

can i edit above works?

or can i...
Forum: Scripting Help 12/10/2015, 01:12 PM
Replies: 3
Views: 323
Posted By AmirHossaiN
Re: error 035: argument type mismatch (argument 2)

Problem is string_replace:

stock string_replace(string[], find, replace)
{
for(new i=0; string[i]; i++)
{
if(string[i] == find)
{
string[i] = replace;
...
Forum: Scripting Help 11/10/2015, 08:29 PM
Replies: 3
Views: 323
Posted By AmirHossaiN
Angry error 035: argument type mismatch (argument 2)

hello.

i have a problem on : {

(7521) : error 035: argument type mismatch (argument 2)

codes:

public OnPlayerConnect(playerid)
{
Forum: Scripting Help 12/09/2015, 12:21 PM
Replies: 1
Views: 394
Posted By AmirHossaiN
server crash

[15:19:57] [debug] Server crashed due to an unknown error
[15:19:57] [debug] Native backtrace:
[15:19:57] [debug] #0 00e0f50b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[15:19:57]...
Forum: Scripting Help 10/09/2015, 03:25 PM
Replies: 8
Views: 482
Posted By AmirHossaiN
Re: HELP - saving name in database

try it:

UPDATE `shop` SET `Owner` = %s WHERE `ID` = %d

to

UPDATE `shop` SET `Owner` = '%s' WHERE `ID` = '%d'


SELECT * FROM `shop` WHERE `ID` = %d
Forum: Scripting Help 05/09/2015, 12:07 PM
Replies: 12
cmd
Views: 574
Posted By AmirHossaiN
Re: cmd

use this for example:

SetPlayerInterior(ID,0);
SetPlayerPos(ID,0,0,2);
SetPlayerFacingAngle(ID,180.0);
Forum: Filterscripts 05/09/2015, 12:04 PM
Replies: 21
Views: 8,333
Posted By AmirHossaiN
Forum: Scripting Help 05/09/2015, 12:47 AM
Replies: 12
cmd
Views: 574
Posted By AmirHossaiN
Re: cmd

// Use unjail postition
SetPlayerInterior(ID,10);
SetPlayerPos(ID,JailSpawnPoints[rnd][0],JailSpawnPoints[rnd][1],JailSpawnPoints[rnd][2]);
...
Forum: Scripting Help 05/09/2015, 12:34 AM
Replies: 2
Views: 345
Posted By AmirHossaiN
Re: How can I write something as mapping

do you want put a text on walls for example ?

see it:

http://forum.sa-mp.com/showthread.php?t=492017
Forum: Scripting Help 05/09/2015, 12:31 AM
Replies: 6
Views: 371
Posted By AmirHossaiN
Re: i need help here

try it:

http://pastebin.com/BEpbnZ01
Forum: Scripting Help 05/09/2015, 12:22 AM
Replies: 6
Views: 371
Posted By AmirHossaiN
Re: i need help here

use SetVehicleParamsEx

new veh = GetPlayerVehicleID(playerid);
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);

for engine off:...
Forum: Scripting Help 05/09/2015, 12:12 AM
Replies: 12
Views: 754
Posted By AmirHossaiN
Re: [HELP] a Error in compile.

check numbers of { } in your last edits.
Forum: Scripting Help 05/09/2015, 12:10 AM
Replies: 12
cmd
Views: 574
Posted By AmirHossaiN
Re: cmd

try

CMD:unjail(playerid,params[])
{
new string[128];
new ID;
new cmdtime;
new cmdreason[256];
if(AdminLevel[playerid] < 1) return...
Forum: Scripting Help 05/09/2015, 12:02 AM
Replies: 3
Views: 273
Posted By AmirHossaiN
Re: error

try it:

public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
if((0 <= weaponid <= 46) || weaponid == 54)
{
if(BODY_PART_TORSO <= bodypart && bodypart...
Showing results 1 to 25 of 79

 

All times are GMT. The time now is 07:25 PM.


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