Dealership Problems
#1

Car Dealership When i create dealership server laggs and also when buying cars from dealership it happens the same thing it laggs too
Reply
#2

And how do you expect anyone to help you if you don't post your code?
Reply
#3

pawn Код:
CMD:createdealership(playerid, params[])
{
 if (PlayerInfo[playerid][pAdmin] < 1337)
 {
  SendClientMessageEx(playerid, COLOR_GREY, " You are not allowed to use this command.");
  return 1;
 }

 new string[128], price, radius, message[64];
 if(sscanf(params, "dds[64]", price, radius, message)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /createdealership [price] [radius] [message]");

 new Float:X,Float:Y,Float:Z;
 GetPlayerPos(playerid,X,Y,Z);
 new dealershipid = CreateCarDealership(X, Y, Z, radius, price, message);
 if(dealershipid == -1)
 {
  SendClientMessageEx(playerid, COLOR_GREY, "ERROR: Car Dealerships limit reached.");
 }
 else
 {
  format(string, sizeof(string), " Car Dealership created with ID %d.", dealershipid);
  SendClientMessageEx(playerid, COLOR_GRAD1, string);
 }
 return 1;
}
here it is
Reply
#4

NG:RP script...

Try switching file systems.
Reply
#5

What do you mean switch file systems?
Reply
#6

Is There Anything that i can Solve This Problem?
Reply
#7

Write a new script. Because the NG:RP script is out dated, and you can expect it fully to run with lag. Update.
Reply
#8

Can you guys give me a new script for dealership? Please ill Rep you if it works
Reply
#9

Anyone?
Reply
#10

Anyone can help me with car dealership lag and when they buy a car at the dealership it will make the server lag for 10 seconds or something
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)