Help me please!! :(
#6

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid... etc)
{
    new pname[24];
    GetPlayerName(playerid, pname, 24);
    if( DVehicles[vehicleid][Owner][0] && strcmp(name,DVehicles[vehicleid][Owner]) ) // if vehicle is not yours
    {
        new string[60];
        format(string,sizeof(string),"{FFFFFF}This vehicle belongs to %s", DVehicles[vehicleid][Owner]);
        SendClientMessage(playerid, -1, string);
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
Help me please!! :( - by Alejandro041 - 16.05.2017, 23:55
Re: Help me please!! :( - by Jefff - 16.05.2017, 23:59
Respuesta: Re: Help me please!! :( - by Alejandro041 - 17.05.2017, 00:02
Re: Help me please!! :( - by Jefff - 17.05.2017, 00:03
Respuesta: Re: Help me please!! :( - by Alejandro041 - 17.05.2017, 00:05
Re: Help me please!! :( - by Jefff - 17.05.2017, 00:08
Respuesta: Re: Help me please!! :( - by Alejandro041 - 17.05.2017, 00:13
Re: Help me please!! :( - by Jefff - 17.05.2017, 00:15
Respuesta: Re: Help me please!! :( - by Alejandro041 - 17.05.2017, 01:41
Re: Respuesta: Re: Help me please!! :( - by zedshadowzw - 17.05.2017, 02:11

Forum Jump:


Users browsing this thread: 4 Guest(s)