#1

yes, again me.. So today i need to know how to make one sms.. if i use 2 checks and i get 2 sms.. I need what check ...


}
//Policija.
if(vehicleid >= pdcar[14] && vehicleid <= pdcar[16])
{
if(spec != 1 && playerDB[playerid][admin] < 4)
{
print("Tikrinam");
KlaidosZinute(playerid,"Bad");
Stop(playerid);
return 1;
}
if(playerDB[playerid][rangas] < 3 && playerDB[playerid][admin] < 4)
{
print("Tikrinam2");
KlaidosZinute(playerid,"Rang");
Stop(playerid);
return 1;
}
AlgosZinutes(playerid);
print("Tikrinam3");
Reply
#2

What the heck does sms stand for?

Explain yourself better and when you post code, use the tags [pawn][/pawn] or or .
Reply
#3

We can't certainly help you if your code is written in another language, you'd better ask in a scripting section according to your language, otherwise we can't understand your code.
Reply
#4

Mhmm, i geting 2 messages.. if i use 2 checks.. :if(spec != 1 && playerDB[playerid][admin] < 4)
if(playerDB[playerid][rangas] < 3 && playerDB[playerid][admin] < 4)
Reply
#5

Just add an "else", as in "else if(...".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)