strcmp function ! help me!
#4

And Why doesnt this work ?

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;
        }
    }
i added this on OnPlayerStateChange
Please help
and when i removed (vCreated[vehicleid] == true)
it showed the message while entering any car
thanks
Reply


Messages In This Thread
strcmp function ! help me! [SOLVED] - by superrobot48 - 06.05.2014, 09:36
Re: strcmp function ! help me! - by Konstantinos - 06.05.2014, 09:42
Re: strcmp function ! help me! - by superrobot48 - 06.05.2014, 10:15
Re: strcmp function ! help me! - by superrobot48 - 06.05.2014, 11:17
Re: strcmp function ! help me! - by Konstantinos - 06.05.2014, 11:21
Re: strcmp function ! help me! - by superrobot48 - 06.05.2014, 11:26
Re: strcmp function ! help me! - by Konstantinos - 06.05.2014, 11:30
Re: strcmp function ! help me! - by superrobot48 - 06.05.2014, 11:38
Re: strcmp function ! help me! - by Konstantinos - 06.05.2014, 11:41
Re: strcmp function ! help me! - by superrobot48 - 06.05.2014, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)