16.10.2010, 21:26
Hello, I created this topic to put codes using SetPlayerHoldingObject, post your code and if possible miniprints
Thankz
Link for Function: CLICK HERE
Att: DraKiNs
Sorry my English
Thankz
Link for Function: CLICK HERE
pawn Код:
if(!strcmp(cmdtext, "/vaca", true))//crete cow ahahha
{
StopPlayerHoldingObject(playerid);
SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Virou uma Vaca");
SetPlayerHoldingObject(playerid ,16442 , 1, 0, 0, 0, 90, 90, 0);
return true;
}
if(!strcmp(cmdtext, "/fix", true))//remove all objects
{
SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Vocк fixou-se");
StopPlayerHoldingObject(playerid);
return true;
}
if(!strcmp(cmdtext, "/pensar", true))//create flash in head
{
StopPlayerHoldingObject(playerid);
SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Vocк esta pensando,pensando muito");
SetPlayerHoldingObject(playerid, 354, 2);
return true;
}
if(strcmp("/penis", cmdtext, true, 10) == 0)//creat one penis hahaha
{
StopPlayerHoldingObject(playerid);
SetPlayerHoldingObject(playerid ,322 , 1, -0.1, 0.2, -0.04, 90, 180, 0);
SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Vocк й Japones!");
return true;
}
if (strcmp("/fumaca", cmdtext, true, 10) == 0)//created snow
{
StopPlayerHoldingObject(playerid);
SetPlayerHoldingObject(playerid ,2780 , 2, 0, 0, 0, 0, 90, 180);
SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Vocк esta saindo fumasa");
return 1;
}
if (strcmp("/bola", cmdtext, true, 10) == 0) // Create a Basketbool
{
StopPlayerHoldingObject(playerid);
SetPlayerHoldingObject(playerid ,2114 , 2, 0.1, 0, 0, 0, 0, 0);
SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Bola Criada");
return true;
}
if (strcmp("/morto", cmdtext, true, 10) == 0) //Create a Cop Death
{
StopPlayerHoldingObject(playerid);
SetPlayerHoldingObject(playerid ,3092 ,6, 0.1, 0, 0, 0, 0, 0);
SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Morto Criada");
return true;
}
if (strcmp("/tv", cmdtext, true, 10) == 0) //Crete Television
{
StopPlayerHoldingObject(playerid);
SetPlayerHoldingObject(playerid ,1518 ,6, 0.1, 0, 0, 0, 0, 0);
SendClientMessage(playerid, 0xFFFFFFFF, "[INFO] Tv Criada");
return true;
}
Sorry my English