dcmd_createprop(playerid, params[])
{
new NAME[256],Price,Earnings,Value,str[256];
if(sscanf(params, "s,d,d,d", NAME,Price,Earnings,Value)) return SendClientMessage(playerid,white,"Correct Usage: /createprop <name> <price> <earnings> <value>");
new Float:Pos[4];
GetPlayerPos(playerid,Pos[1],Pos[2],Pos[3]);
AddProperty(NAME,Pos[1],Pos[2],Pos[3],Price,Value,Earnings);
format(str,256,"%s has created the Property %s priced at $%d and with an earning of $%d.",PlayerName(playerid),NAME,Price,Earnings);
Admin(str);
return true;
}