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


Messages In This Thread
samp bug? - by CutX - 03.01.2014, 19:35
AW: samp bug? - by CutX - 04.01.2014, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)