06.12.2012, 18:43
So i found this neat command:
if (strcmp("/firstperson", cmdtext, true, 10) == 0)
{
firstperson[playerid] = CreateObject(19300, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(firstperson[playerid],playerid, 0.0, 0.12, 0.7, 0.0, 0.0, 0.0);
AttachCameraToObject(playerid, firstperson[playerid]);
SendClientMessage(playerid,-1,"Note: Use /exitfirstperson to return to normal.");
return 1;
}
The problem is i'm using the streamer plugin and there isn't AttachDynamicObjectToPlayer.
What do i do? Or do i just leave it like this and it will be okay?
if (strcmp("/firstperson", cmdtext, true, 10) == 0)
{
firstperson[playerid] = CreateObject(19300, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(firstperson[playerid],playerid, 0.0, 0.12, 0.7, 0.0, 0.0, 0.0);
AttachCameraToObject(playerid, firstperson[playerid]);
SendClientMessage(playerid,-1,"Note: Use /exitfirstperson to return to normal.");
return 1;
}
The problem is i'm using the streamer plugin and there isn't AttachDynamicObjectToPlayer.
What do i do? Or do i just leave it like this and it will be okay?
