14.09.2011, 14:02
i use it like
COMMAND:glass(playerid, params[])//glass red
{
new glass;
new Float:X, Float:Y, Float:Z;
new Float:rX, Float:rY, Float:rZ;
GetPlayerPos(playerid, X, Y, Z);
glass = CreateObject(19006, X, Y, Z, rX, rY, rZ, 60);
AttachObjectToPlayer(glass, playerid, 0.0, 0.0, 0.85, 0.0, 0.0, 90.0);
SetPlayerAttachedObject(playerid, 1, glass, 2);
return 1;
}
doesnt work
and if i use it like
COMMAND:glass(playerid, params[])//glass red
{
new glass;
new Float:X, Float:Y, Float:Z;
new Float:rX, Float:rY, Float:rZ;
GetPlayerPos(playerid, X, Y, Z);
glass = CreateObject(19006, X, Y, Z, rX, rY, rZ, 60);
SetPlayerAttachedObject(playerid, 1, glass, 2);
return 1;
}
doesnt work too
please help me
thx
COMMAND:glass(playerid, params[])//glass red
{
new glass;
new Float:X, Float:Y, Float:Z;
new Float:rX, Float:rY, Float:rZ;
GetPlayerPos(playerid, X, Y, Z);
glass = CreateObject(19006, X, Y, Z, rX, rY, rZ, 60);
AttachObjectToPlayer(glass, playerid, 0.0, 0.0, 0.85, 0.0, 0.0, 90.0);
SetPlayerAttachedObject(playerid, 1, glass, 2);
return 1;
}
doesnt work
and if i use it like
COMMAND:glass(playerid, params[])//glass red
{
new glass;
new Float:X, Float:Y, Float:Z;
new Float:rX, Float:rY, Float:rZ;
GetPlayerPos(playerid, X, Y, Z);
glass = CreateObject(19006, X, Y, Z, rX, rY, rZ, 60);
SetPlayerAttachedObject(playerid, 1, glass, 2);
return 1;
}
doesnt work too
please help me
thx