Crash players
#1

Hello, if there are player crash players they trying to send vehicles i think bad model then players crash how to make anti crash to prevent him??
Reply
#2

Help please?
Reply
#3

pawn Код:
CMD:vehicle(playerid, params[])
{
      //bla bla your code
     if(cID > 612)SendClientMessage(playerid, -1, "Invalid Vehicle ID (400-611)"); //-1 is Random Color.
     if(cID < 400)SendClientMessage(playerid, -1, "Invalid Vehicle ID (400-611)"); //-1 is Random Color.
     return 1;
}
Reply
#4

Quote:
Originally Posted by MatriXgaMer
Посмотреть сообщение
pawn Код:
CMD:vehicle(playerid, params[])
{
      //bla bla your code
     if(cID > 612)SendClientMessage(playerid, -1, "Invalid Vehicle ID (400-611)"); //-1 is Random Color.
     if(cID < 400)SendClientMessage(playerid, -1, "Invalid Vehicle ID (400-611)"); //-1 is Random Color.
     return 1;
}
The Crasher is sending Invalid Vehicle ID not spawning it, so the player will crash if he was on vehicle and the hacker replaced his car by invalid vehicle id
Reply
#5

http://pastebin.com/6rf01BNS , can anyone tell me what this link is
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)