IsPlayerInAnyVehicle
#1

Код:
        if(IsPlayerInAnyVehicle(victimid)) 
        format(string,sizeof(string),"%s (%d) is inside a vehicle.",victim,victimid);
	MsgToAdmins(orange,stringd);
Whats wrong with this?
Reply
#2

it shows errors or its not working?
Reply
#3

Its not working
Reply
#4

2 things add curly braces after if statment
pawn Код:
if()
{
}
or it would only read the next line with the if statment ,none of the upcommeing statents.
but logically it should work.....
or maybe post your message to admin function,and do it shows nothing?
and post your format line in pawn tags coz my phones browser donsnt allows me to view it clearly....maybe break it into two three parts by enter key
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)