[ERROR] HELP ME! UNKNOWN COMMAND...
#4

Ok, thank guys.
And help me in this: (SAME ERROR):

pawn Код:
stock LoadSpec(playerid, specplayerid)
{
    for(new x=0; x<MAX_PLAYERS; x++)
    {
      if(GetPlayerState(x) == PLAYER_STATE_SPECTATING && INFO[x][ID] == playerid)
        {
       SPECTATE2(x); }
    }
    SetPlayerInterior(playerid,GetPlayerInterior(specplayerid));
    TogglePlayerSpectating(playerid, 1);

    if(IsPlayerInAnyVehicle(specplayerid)) {
        PlayerSpectateVehicle(playerid, GetPlayerVehicleID(specplayerid));
        INFO[playerid][ID] = specplayerid;
        INFO[playerid][TYPW] = ADMIN_SPEC_TYPE_VEHICLE;
    }else {
        PlayerSpectatePlayer(playerid, specid);
        INFO[playerid][ID] = specplayerid;
        INFO[playerid][TYPE] = ADMIN_SPEC_TYPE_PLAYER;
    }
    for(new i = 0; i < MAX_PLAYERS; i++) {
    TextDrawShowForPlayer(playerid,SPEC[i]);
    TextDrawSetString(SPEC[i], "SPEC TEXT");
    }
    return 1;
}
Reply


Messages In This Thread
[ERROR] HELP ME! UNKNOWN COMMAND... - by Jack321 - 30.01.2010, 20:22
Re: [ERROR] HELP ME! UNKNOWN COMMAND... - by Doppeyy - 30.01.2010, 20:25
Re: [ERROR] HELP ME! UNKNOWN COMMAND... - by LuxurioN™ - 30.01.2010, 20:30
Re: [ERROR] HELP ME! UNKNOWN COMMAND... - by Jack321 - 30.01.2010, 20:33
Re: [ERROR] HELP ME! UNKNOWN COMMAND... - by Jack321 - 30.01.2010, 22:25

Forum Jump:


Users browsing this thread: 1 Guest(s)