SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 179
Search took 0.01 seconds.
Search: Posts Made By: pen_theGun
Forum: Help Archive 22/08/2011, 12:45 AM
Replies: 12
Views: 1,512
Posted By pen_theGun
Re: [BUG] From stadium to an other place !

SetPlayerInterior(GetPlayerVehicleID(playerid), 0);
Forum: Help Archive 06/08/2011, 11:07 AM
Replies: 19
Views: 2,221
Posted By pen_theGun
Re: HTTP ?

Why dont you check it yourself?
Thats how i using it and it works for me:

format(string, sizeof(string), "mysite.com/test/test.php?test=%i", Testing); // without www....
HTTP(playerid,...
Forum: Help Archive 06/08/2011, 10:48 AM
Replies: 19
Views: 2,221
Posted By pen_theGun
Re: HTTP ?

...
format(string, sizeof(string), "localhost/test/test.php?test=%i", Testing);
HTTP(playerid, HTTP_POST, string, "" "MyHttpResponse");
Forum: Help Archive 30/07/2011, 02:35 PM
Replies: 3
Views: 1,673
Posted By pen_theGun
Divide operator doesnt work properly?

Do i something wrong or does divide operator work incorrect?! Here are some examples


printf( "%f", 5.0/8 ); // OK => 0.625000
printf( "%f", 5/8.0 ); // OK => 0.625000
printf( "%f", 5/8 ); //...
Forum: Русский/Russian 10/06/2011, 09:56 AM
Replies: 15
Views: 3,247
Posted By pen_theGun
Re: Помогите с ApplyAnimation

Почитай про SetTimerEx (http://wiki.sa-mp.com/wiki/SetTimerEx_RU)
А конкретно тебе должно помочь следующее.

gymtimer = SetTimer("GymTimer", 9000, false); //убираем вот это

gymtimer =...
Forum: Help Archive 27/05/2011, 04:53 AM
Replies: 14
Views: 2,109
Posted By pen_theGun
Re: Help with Spikes

...
Step 3: (edit func. DeleteClosestStrip like below)

// SpikeStrip.inc
stock DeleteClosestStrip(playerid)
{
for(new i = 0; i < sizeof(SpikeInfo); i++)
{
...
Forum: Help Archive 26/05/2011, 12:14 PM
Replies: 1
Views: 734
Posted By pen_theGun
Re: Gang Zones

change to
Forum: Help Archive 26/05/2011, 11:40 AM
Replies: 1
Views: 612
Posted By pen_theGun
Re: What is not correct about this? Help.

Its should be vehicleid, not playerid

ClickMe (http://wiki.sa-mp.com/wiki/SetVehiclePos)
Forum: Help Archive 26/05/2011, 10:15 AM
Replies: 6
Views: 986
Posted By pen_theGun
Re: [Help]Changing data in a array in a enumerator?

You can


main()
{
printf("sizeof:%d", sizeof( MyTest ))

MyTest[0][MyArray][3] = 2;
printf("%d", MyTest[0][MyArray][3])
}
Forum: Help Archive 26/05/2011, 09:38 AM
Replies: 14
Views: 2,109
Posted By pen_theGun
Re: Help with Spikes

Here you go, change enum Info from
Step 1:
[/quote]

Step 2: (edit func. CreateStrip like below)

// SpikeStrip.inc
stock CreateStrip(playername[], Float:x,Float:y,Float:z,Float:Angle)
{
...
Forum: Bug Reports 09/03/2011, 10:02 AM
Replies: 40
Views: 16,533
Posted By pen_theGun
Re: Report from DeathMatch community - FPS and Syncing problems (critical)

Do you use Win7 x64? Because theres no such problem on XP.
http://forum.sa-mp.com/showthread.php?t=218512
Forum: General 30/01/2011, 07:57 PM
Replies: 25
Views: 5,603
Posted By pen_theGun
Re: Chatbox uses lots of FPS

I'll second that!
With chat: 30 ~ 40 FPS, without it: 70 ~ 80+FPS

PC:
Win7 x64
iCore5 760 @2.8Ghz
Memory: 8 Gb
Video Card: Geforce GTX460 1024MB
Forum: Help Archive 13/01/2011, 09:56 PM
Replies: 4
Views: 1,108
Posted By pen_theGun
Re: new to SQL

http://wiki.sa-mp.com/wiki/Db_get_field_assoc
Forum: Help Archive 06/11/2010, 07:32 AM
Replies: 5
Views: 1,050
Posted By pen_theGun
Re: When i die from falling or weapons i dont actually die..(death bug:S)

remove this?! ClearAnimations(playerid);
i also can only rat, you better make this if(KilledHimself[playerid] == 1){KilledHimself[playerid] =0,killerid=INVALID_PLAYER_ID;} instead of this killerid=-1
Forum: Help Archive 04/11/2010, 09:03 AM
Replies: 13
Views: 1,360
Posted By pen_theGun
Re: switch failure? or am i stupid?

forward switcher(playerid);
public switcher(playerid)
{
switch (Mode[playerid])
{
case 1:
{
Mode[playerid] = 2;
SendClientMessage(playerid, COLOR_GREY, "MODE 1 MAC10");...
Forum: Help Archive 18/09/2010, 09:17 AM
Replies: 9
Views: 955
Posted By pen_theGun
Re: Problem with Duel system

typo?!
<<<<
sotck PvpAtmesta( playerid, pid );

>>>>
stock PvpAtmesta( playerid, pid );
Forum: Русский/Russian 11/09/2010, 07:41 PM
Replies: 18
Views: 10,337
Posted By pen_theGun
Re: Проблема с gta_sa.exe

Никогда небыло проблем с мышкой в сингле или же в 0.1b и да же 0.2, проблемы начались наверное с версии 0.2.х и выше, так что думаю ето проблемы не гта ...
Forum: Русский/Russian 11/09/2010, 09:29 AM
Replies: 18
Views: 10,337
Posted By pen_theGun
Re: Проблема с gta_sa.exe

у меня лицензионный виндовс 7 х64 и все те проблемы что ты описал здесь.
частое зависание игры после паузы в игре, повышеный пинг, а также проблемы с мышкой(то левая кнопка не работает, то камеру не...
Forum: Help Archive 05/09/2010, 12:17 PM
Replies: 15
Views: 1,940
Posted By pen_theGun
Re: Converting to MySQL issues

lower from 256 to 64?!


new field[33][64];
Forum: Help Archive 05/09/2010, 09:14 AM
Replies: 15
Views: 1,940
Posted By pen_theGun
Re: Converting to MySQL issues

try this?!


public LoadProperty()
{
mysql_query("SELECT * FROM `property`");
mysql_store_result();

new buffer[255];
new field[33][255];
Forum: Русский/Russian 10/06/2010, 03:55 PM
Replies: 50
Views: 11,867
Posted By pen_theGun
Re: Редакторы PAWN скриптов

Покажеш картинку как у тебя выглядит?
Я пользуюсь UltraEdit'ом но не для скриптинга, для етого мне прога NotePad++ больше по душе.
А так хотелось бы посмотреть..
Forum: Русский/Russian 08/06/2010, 11:09 PM
Replies: 21
Views: 2,520
Posted By pen_theGun
Re: Проблема: Текстдрайвом

Вариант второй,

forward UpdateLobbyt();
public UpdateLobbyt()
{
static bool:ad=false;
if( ad )
format( string, sizeof(string)-1,"~g~%s ~w~- ~b~~h~%s",Team[A][Name],Team[D][Name] );
else...
Forum: Русский/Russian 05/06/2010, 08:24 AM
Replies: 21
Views: 2,520
Posted By pen_theGun
Re: Проблема: Текстдрайвом

один из вариантов..

dcmd_swap(playerid,params[])
{
#pragma unused params
if(!IsAdmin(playerid) && !IsPlayerAdmin(playerid)) return 1;
if(Current != -1) return 1;
for(new i; i <= max; i++)...
Forum: Русский/Russian 03/06/2010, 12:11 PM
Replies: 21
Views: 2,520
Posted By pen_theGun
Re: Проблема: Текстдрайвом

вроде понятно,
покажи ка функцию UpdateLobbyt();
Forum: Русский/Russian 31/05/2010, 12:02 AM
Replies: 21
Views: 2,520
Posted By pen_theGun
Re: Проблема: Текстдрайвом

я честно говоря не понял что ты хочеш (что на что менять?), но всё же попробуй следующее:

new tmpstring[12];
format(tmpstring, sizeof(tmpstring)-1, "%s", Team[A][Name]);
format(Team[D][Name],...
Showing results 1 to 25 of 179

 

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


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