Multumesc XEXT, am incercat sa pun si obiectul for sale dar imi apare in aer,de ce?
[pawn]new FOR[MAX_PLAYERS];
if(strcmp(cmd, "/dv", true) == 0)
{
new Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ;
GetPlayerPos( playerid, X, Y, Z );
FOR[ playerid ] = CreatePlayerObject(playerid, 19471, X, Y, Z, rX, rY, rZ );
SendClientMessage(playerid, COLOR_LIGHTBLUE, "» {FFFFFF}Ai asamblat cu succes un semn de vanzare.Scrie (/sdv)anzare pentru a scoate semnul.");
return ( 1 );
}
if(strcmp(cmd, "/sdv", true) == 0)
{
DestroyPlayerObject( playerid, FOR[ playerid ] );
SendClientMessage(playerid, COLOR_LIGHTBLUE, "» {FFFFFF}Ai scos cu succes semnul de vanzare.");
return ( 1 );
}[/pawn]