03.01.2014, 19:35
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:
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:
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'
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(playerid, 2, 1009, 5);
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(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
YCMD:ob(playerid,params[],help)
{
SetPlayerAttachedObject(playerid, 2, 1009, 5);
return 1;
}
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'