Commands dont work!
#1

Hello all! I have problem whit my RP server!
All thes years all did run fine, but i put a new commands in game mode and now.. none cmds works!
Whys that?
I did put my FS commands into a GM .. and now it stop run the commands! Only FS commands works! Help me out!
Reply
#2

What comands did you add and where? Post the code.
Reply
#3

i did added under :
OnPlayerCommandText

heres one command:
Код:
//-------------------------------CarParksPieBankas------------------------------------------------//
	if(strcmp(cmdtext, "/btalon", true) == 0)
	{
	if (PlayerToPoint(2.0, playerid, 1637.0205,-1155.8770,23.8984))
	{
  SendClientMessage(playerid, COLOR_WHITE, "You now have the talon");
  SendClientMessage(playerid, COLOR_PURPLE, "* plz drive in now!");
  GivePlayerMoney(playerid,-15);
  PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
	SetObjectRot(Gate,3.000000,1.000000,-2.000000);
	talon = 1;
	return 1;
	}
	}
I cant post the code.. cuz then i need to post all my game mode.. the command is everywher.. connect and other!
Reply
#4

anyone? Plz i really need to fix it!
Reply
#5

Can you please post entire gamemode?
Reply
#6

I SLOVE the problem!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)