Wierd bug
#2

Код:
public OnPlayerText(playerid, text[])
{
    new vehicleid = GetPlayerVehicleID(playerid);
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, sizeof(Name));
    new string[256];
    for(new i=0;i<MAX_PLAYERS;i++)
    {
        if(!IsPlayerConnected(i)) continue;
        {
            if(IsPlayerInAnyVehicle(i) && !IsModelABike(vehicleid) && !IsModelASpecial(vehicleid))
            {
I think should be:

Код:
public OnPlayerText(playerid, text[])
{
    new vehicleid = GetPlayerVehicleID(playerid);
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, sizeof(Name));
    new string[256];
    for(new i=0;i<MAX_PLAYERS;i++)
    {
        if(IsPlayerConnected(i)) continue;
      
        if(IsPlayerInAnyVehicle(i) && !IsModelABike(vehicleid) && !IsModelASpecial(vehicleid))
        {
No clue if that will fix your bug though.
Reply


Messages In This Thread
Wierd bug - by Lajko1 - 05.02.2014, 19:33
Re: Wierd bug - by Grimrandomer - 05.02.2014, 23:28

Forum Jump:


Users browsing this thread: 1 Guest(s)