04.11.2011, 04:02
How i Attach Objects to Player When a player type /1886 and This object attach to player Can its possibale
If yes So Help Me
If yes So Help Me
if (strcmp("/18646", cmdtext, true, 10) == 0)
{
AttachObjectToPlayer( 18646, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
SendClientMessage(playerid, 0xE60000FF, "the object have been successfully attached");
return 1;
}
if (strcmp("/mombo", cmdtext, true, 10) == 0) { SetPlayerAttachedObject( playerid, 0, 362, 1, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); SendClientMessage(playerid, 0xE60000FF, "the object have been successfully attached"); return 1; } |
RemovePlayerAttachedObject(playerid, SLOT);