getting errors with aHouse -
trickter - 29.11.2011
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
Re: getting errors with aHouse -
trickter - 29.11.2011
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....
Re: getting errors with aHouse -
Unte99 - 29.11.2011
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.
Re: getting errors with aHouse -
trickter - 29.11.2011
thanks for trying to help but i cracked it