Jump to content
  • 0

Problema !!!!


zaster

Question

Salut am Si eu O Problema

LooK -->

C:\Documents and Settings\Vali\Desktop\vip.pwn(63) : warning 217: loose indentation
C:\Documents and Settings\Vali\Desktop\vip.pwn(74) : error 017: undefined symbol "dcmd_vipgoto"
C:\Documents and Settings\Vali\Desktop\vip.pwn(189) : warning 203: symbol is never used: "vipgoto"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Uite SI Linia Cu Definirea la Comanda

[pawn]public OnPlayerCommandText(playerid,cmdtext[])

{

    dcmd(vipgoto,7,cmdtext);

    dcmd(viplevel,5,cmdtext);

    dcmd(setvip,8,cmdtext);

    return 0;

}[/pawn]

Uitati Si COmanda

[pawn]CMD:vipgoto(playerid, params[])

{

    #pragma unused params

if(RPLLogged[playerid] == 1)

{

    new ID , id;

    if(sscanf(params, "u", ID)) SendClientMessage(playerid, 0xFF0000FF, "USAGE: /goto [id]");

    else if(!IsPlayerConnected(id) || id == playerid) return SendClientMessage(playerid, 0xFF0000FF, "This player is offline or it is yourself");

    else

    {

    new Float:x, Float:y, Float:z;

    GetPlayerPos(ID, x, y, z);

    SetPlayerPos(playerid, x+1, y+1, z);

    }

    return 1;

}[/pawn]

Nu Inteleg De Ce Ami Zice Ca Este Undefined :|

560x95_FFFFFF_FF9900_000000_000000.png
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.