09.05.2012, 22:10
Well my Norwegian friend. Do this code. This was just made in full speed you still need to fix the x,y,z,rot: x,rot:y,rot:z on the attachobjecttoplayer to put the object on the right position.
pawn Код:
if(strcmp(cmd, "/tophat", true) == 0)
{
new id[MAX_PLAYERS];
if(IsPlayerConnected(id))
{
AttachObjectToPlayer((CreateObject(19352,0,0,0,0,0,0,200)),id,0,0,0,0,0,0);
}
return 1;
}