[POMOC]/aon!

Započeo ¤EG¤Ovca.ini, Januar 11, 2012, 20:10:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: CLRP
Opis prob.: Ovako napravio sam ovakvu komandu da mi se 3dtext iznad glave stvori izvolte kod:if(strcmp(cmd, "/aon", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >= 1)
{
  SetPlayerArmour(playerid, 1000.0);
SetPlayerHealth(playerid, 1000.0);
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "Admin {FFFFFF}%s {00C0FF}je sada na duznosti",sendername);
        //ABroadCast(SVETLOPLAVA, string);
    new Float:fa, Float:fy, Float:fu;
GetPlayerPos( playerid, fa, fy, fu );
    playertextid[playerid] = Create3DTextLabel(playerid,"Admin na duznosti! (Ne ometaj!!)",0x33CCFFAA,fa,fy,fu,40.0);
Attach3DTextLabelToPlayer(playertextid[playerid], playerid, 0.0,0.0,0.7);
return 1;
}
    else
    {
    SendClientMessage(playerid, WHITE, "{F81414}(Odbijeno) {C3C3C3}Samo Admini!");
    }
    return 1;
  }


Imam i ovo na vrhu

new Text3D:playertextid[MAX_PLAYERS];
I kaze mi ovako:

C:\Users\Kruno\Downloads\EuropeRP by Krunsy\Classic Life RolePlay\gamemodes\EGRPBYKRUNSY.pwn(41417) : error 035: argument type mismatch (argument 1)
C:\Users\Kruno\Downloads\EuropeRP by Krunsy\Classic Life RolePlay\gamemodes\EGRPBYKRUNSY.pwn(41436) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


IMam i na ovoj liniji gore 41436 ovo:

if(strcmp(cmd, "/aoff", true) == 0)
{
    if (PlayerInfo[playerid][pAdmin] >= 1)
    {
SetPlayerArmour(playerid, 0.0);
SetPlayerHealth(playerid, 100.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "Admin {FFFFFF}%s {00C0FF}vise nije na duznosti!",sendername);
//ABroadCast(SVETLOPLAVA, string);
  DeletePlayer3DTextLabel(playerid, playertextid);
return 1;
    }
    else
    {
    SendClientMessage(playerid, WHITE, "{F81414}(Odbijeno) {C3C3C3}Samo Admini!");
    }
return 1;
}


Moze pomoc?? :S
Poslednja Izmena: Januar 11, 2012, 20:11:26 POSLE PODNE od (EG)KrunsY.ini

Join us today! 176.57.128.4:7793

Moji radovi:
[MAP] Burg - http://balkan-samp.com/forum/index.php?topic=28297
[MAP] Salon Brodova i Dock: http://balkan-samp.com/forum/index.php?topic=28260.0

Daj linije:
41417
41436
Trenutni projekt: NightLife Roleplay

Bizz System 40%
House System 70%
Car Ownership 20%
Log/reg System 100%
Poslovi 20%
Anticheat 0%
Organizacije 50%
Event System 0%
Komande 20%