samp bug?
#1

Hey,

I got a weird problem here that i just can't seem solve myself.
my game crashes as soon as i attach a nitrous oxide to the player
and walk to any tuning garage:
PHP Code:
SetPlayerAttachedObject(playerid210095); 
when im not near one, it won't crash... strange

i tested everything, nothing seems to fix that...
i created a blank GM with just this inside, nothing else:
PHP Code:
#include <a_samp>
#include <YSI\y_commands>
main(){}
public 
OnGameModeInit()
{
    
SetGameModeText("Blank Script");
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);
}
public 
OnPlayerRequestClass(playeridclassid)
{
    
SetPlayerPos(playerid1958.37831343.157215.3746);
    
SetPlayerCameraPos(playerid1958.37831343.157215.3746);
    
SetPlayerCameraLookAt(playerid1958.37831343.157215.3746);
    return 
1;
}
YCMD:ob(playerid,params[],help)
{
    
SetPlayerAttachedObject(playerid210095);
    return 
1;

but it still crashes when im near a tuning garage!
so annoying... im trying to fix that since a hour now.
any ideas?

again, it won't crash when im, for example, at blueberry farm.
It starts crashing as soon as im near a tuning garage like TransFender or so

btw. there's nothing wrong with my game. When i comment that line, nothing happens when im near a tuning garage. just sayin'
Reply
#2

I really need to know if that's a bug of samp or not and if not how to fix it.
Atleast someone please copy the code in my first post, run it and
go to any tuning garage while having that NOS bottle attached.

Tell me, do you crash too?
- or just me?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)