29.11.2010, 16:04
What does the index thing mean in SetPlayerAttachedObject?
- Thanks!
- Thanks!
new object;
object = createobject(blablabla);
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_SPAWNED)
{
SetPlayerAttachedObject(playerid, 0, 18749, 2, 0.0, 0.0, 0.0, 90.0, 0.0, 0.0, 0.0, 0.0, 0.0);
}
return 1;
}