Simple code crashing the server...
#1

-Fixed it myself.
Reply
#2

try adding
pawn Код:
new lTime,
at top
Reply
#3

pawn Код:
if(lTime2 < 1 || lTime2 > 20) return SendClientMessage(playerid,-1,"[*] Values Must Be Between 1-20!");
//Changed  lTIme < 0 to lTime < 1
Also, probably this is causing you to crash, Rotation is in -ve.
pawn Код:
lTimedC4[playerid] = CreateObject(1654,X,Y,Z,-0.90,270.0,0.0,0.0);//CODE
CreateObject(1654,X,Y,Z-0.90,0,270.0,0.0,0.0);//Fix maybe
Reply
#4

NVM.
-Fixed it myself.
Reply
#5

-Remove.
Reply
#6

TimedC4[playerid] = TextDrawCreate(300.0,300.0,szString);
TextDrawTextSize(TimedC4[playerid],0.7,3.0);
TextDrawShowForAll(TimedC4[playerid]);

Why [playerid], this textdraw will be showed to everyone (TextDrawShowForAll) (if u want to show a textdraw just to one player, use PlayerTextdraws)
Reply
#7

-Remove Please.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)