11.09.2010, 00:24
Ok so i managed to work out how to attach a object to a players head etc. but i want to know how can i make it so if i type the command again it would remove it.
Код:
if(strcmp(cmd, "/tv", true) == 0) { SendPlayerFormattedText(playerid,"You Now Are A TV Head!!.",0); new tv; tv = 1518; SetPlayerHoldingObject(playerid, tv, 2, 0000.23, 0000.0, 0000.0, 0000.0, 0085.0, 0180.0); return 1; }