SA-MP Forums Archive
Need Help +REP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need Help +REP (/showthread.php?tid=330454)



Need Help +REP - [Dk]RoCk - 01.04.2012

Its HoldinG Object /alien But 1 Bug Can Any Fix it if i Change My Weapons Then this /alien i ll RemOved
Any Can Fix It Please ?? Please +REP

Код:
CMD:alien( playerid, params[] )
{
    for ( new i = 0; i < 5; i ++ )
		if ( IsPlayerAttachedObjectSlotUsed( playerid, i ) )
			RemovePlayerAttachedObject( playerid, i );

	SetPlayerAttachedObject( playerid, 0, 18645, 2, 0.017478, 0.051500, 0.003912, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // MotorcycleHelmet1 - HEAD
	SetPlayerAttachedObject( playerid, 1, 18690, 2, -2.979508, 0.306475, -0.388553, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // fire_car - fire2
	SetPlayerAttachedObject( playerid, 2, 18716, 2, -2.979508, 0.306475, -0.388553, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // prt_smoke_expand - smoke3


	return 1;
}



Re: Need Help +REP - Avi57 - 01.04.2012

u cant give rep, u need 50+ Posts !!


Re: Need Help +REP - [Dk]RoCk - 01.04.2012

soory xD
But Can any One help me
i ll Give REP Later PrOmise


Re: Need Help +REP - D3XT3R - 01.04.2012

Replace Your whole OnPlayerUpdate Callback with This
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerWeapon(playerid))
    {
        SetPlayerArmedWeapon(playerid, 0);
        return 0;
    }
    if(!IsPlayerInAnyVehicle(playerid))
    {
        return 0;
    }
    return 1;
}
May not be perfect because i Scripted it in Reply Box


Re: Need Help +REP - [Dk]RoCk - 01.04.2012

NOT WORK


Re: Need Help +REP - [Dk]RoCk - 02.04.2012

Now i Cant Change My Weapons
Need Help Any One ? ?


Re: Need Help +REP - Joshb93 - 02.04.2012

Ty So MuCh Luv Yuw Lol
+REP Yu Later :*

^^^
One question, why do you talk like that? That makes you look stupid and immature, and its not cool.
Sorry to be a dick, but it just gets on my nerves how people do that.


Re: Need Help +REP - [Dk]RoCk - 02.04.2012

xD Soory he is My Frnd In FB .. !
SOOORY for That Can You Help me !
Pleasse


Re: Need Help +REP - iPLEOMAX - 02.04.2012

Quote:
Originally Posted by [Dk]RoCk
Посмотреть сообщение
xD Soory he is My Frnd In FB .. !
SOOORY for That Can You Help me !
Pleasse
What he means is don't talk like this: "Hello, My Name Is Rock", You capitalize each starting letter in your word..
That's hard to read & makes you look immature.

So, write posts normally..


Re: Need Help +REP - Joshb93 - 02.04.2012

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
What he means is don't talk like this: "Hello, My Name Is Rock", You capitalize each starting letter in your word..
That's hard to read & makes you look immature.

So, write posts normally..
And actually, he spells words like a spanish 3rd grader trying to speak english, and capitalizes random letters in a word, like "MuCh"