Drugs Overdose
#1

SLOVED
Reply
#2

?? ??
Reply
#3

SOLVED
Reply
#4

Make sure ontop of script you have
ON_DRUGS [MAX_PLAYERS]
And not just [playerid], that would only apply the thing to ID 0.
Reply
#5

Quote:
Originally Posted by Ceez
Посмотреть сообщение
Make sure ontop of script you have
ON_DRUGS [MAX_PLAYERS]
And not just [playerid], that would only apply the thing to ID 0.
i have heave it
Код:
new ON_DRUGS[MAX_PLAYERS];
Reply
#6

can u tell how can i define the amount taken
like if
Код:
if(drugstaken >  60)
{ 
//here all overdose code 
}
else
{
//the code if less than 60
}
return 1;
Reply
#7

anyone
Reply
#8

help plz all it does is random i want if he takes the amount more than 60 he dies else drugs sucess
Reply
#9

ANYONE PLZ HELP ME
Reply
#10

Quote:

if(drugstaken > 60)
{
//here all overdose code
}
else
{
//the code if less than 60
}
return 1;

It should be :-
pawn Код:
if(drugstaken >  60)
{
//here all overdose code
}
else if
{
//the code if less than 60
}
return 1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)