getting errors with aHouse
#1

hello guyz... i am making a new gamemode which is to be a revolutionary GM after the god father....
i need help in that...
my problem :-
when i put SHS{aHouse} in my gamemode , the speedometer and fuel system textdraws shut down...

for live example join this server { home host }
IP : usamp.servegame.com:7777 [0.3d-RC9]

and thanks in advance
Reply
#2

sorryfor the double post but when i type /buyh { command to buy house } and /sellh { command to sell house }
i am getting these results :
--------------------------------------
Quote:

[22:04:47] You have sold your house!

[22:04:47] SERVER: Unknown command.

[22:04:51] You have bought the house!

[22:04:51] SERVER: Unknown command.

---------------------------------------
i use dcmd as the command processer ...

by the way i kept the dcmd commands as follows
:
Код:
		if (strcmp("/tmenu", cmdtext, true, 10) == 0)
		{
			ShowPlayerDialog(playerid, TMENU, DIALOG_STYLE_LIST, "Teleport Categories", "Los Santos\nSan Fierro\nLas Venturas\nOther", "Select", "Cancel");
			return 1;
		}
		//DCMD COMMANDS
		dcmd(buyh,4,cmdtext);
		dcmd(sellh,5,cmdtext);
		dcmd(enterh,6,cmdtext);
		dcmd(exith,5,cmdtext);
		dcmd(lockh,5,cmdtext);
		dcmd(unlockh,7,cmdtext);
		dcmd(setrent,7,cmdtext);
		dcmd(rent,4,cmdtext);
		dcmd(unrent,6,cmdtext);
		dcmd(househelp,9,cmdtext);
		dcmd(housestats,10,cmdtext);
		dcmd(getrent,7,cmdtext);
		dcmd(payrent,7,cmdtext);
		
		if (!strcmp("/credits", cmdtext, true)) {.................................
that is in between some strcmp commands at onplayercommandtext .... plz some experienced scripters help...i dont have time cracking this nut....
Reply
#3

Well the gm won't be revolutionary if it will use dcmd... I would suggest to use ZCMD or YCMD. DCMD is almost the same as strcmp.

You should check the names of the textdraws, if they are the same.
Reply
#4

thanks for trying to help but i cracked it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)