06.05.2014, 11:17
And Why doesnt this work ?
i added this on OnPlayerStateChange
Please help
and when i removed (vCreated[vehicleid] == true)
it showed the message while entering any car
thanks
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
if((vCreated[vehicleid] == true) && strcmp(VehicleInfo[vehicleid][vOwner],PlayerName(playerid)) == 0)
{
SendClientMessage(playerid,COLOR_GREEN,"Welcome to your purchased vehicle");
return 1;
}
}
Please help
and when i removed (vCreated[vehicleid] == true)
it showed the message while entering any car
thanks

