ocmd:createhouse(playerid,params[]){new cost, iID, string[128];if(sscanf(params,\"us\",cost,iID,string))return SendClientMessage(playerid,RED,\"Használat: /createhouse [összeg] [level]\");if(iID < 1||iID > 10){ GetPlayerPos(playerid,x,y,z); { x+=(floatsin(-angle,degrees)); y+=(floatcos(-angle,degrees)); { CreatePickup(1273,1,x,y,z,0); { format(string,sizeof(string),\"%i $\\n %s szintü\",cost,iID); Create3DTextLabel(string,YELLOW,x,y,z+1,40.0,0); } }}}SendClientMessage(playerid,RED,\"Addj meg egy érvényes szintet!\");return 1;}
{new cost, iID, string[128];if(sscanf(params,\"ii\",cost,iID))return SendClientMessage(playerid,RED,\"Használat: /createhouse [összeg] [level]\");if(iID < 1||iID > 10)return SendClientMessage(playerid,RED,\"Addj meg egy érvényes szintet!\");{ GetPlayerPos(playerid,x,y,z); { x+=(floatsin(-angle,degrees)); y+=(floatcos(-angle,degrees)); { CreatePickup(1273,1,x,y,z,0); { format(string,sizeof(string),\"%i $\\n %s szintü\",cost,iID); Create3DTextLabel(string,YELLOW,x,y,z+1,40.0,0); } }}}return 1;