[Off] Drawn's Clicaveis
#1

Cуdigo:
pawn Код:
new Text:Textdraw0;

public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid){
    if(playertextid == Textdraw0){
         SendClientMessage(playerid, 0xFFFFFFAA, "LOL VOCК CLICOU NA TEXTDRAW \"welcomeText\".");
         CancelSelectTextDraw(playerid);
    }
    return 1;
}
Erro:

pawn Код:
C:\Users\Edilson\Downloads\SA-MP Dayz\gamemodes\GM.pwn(175) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
Obs: Й textdrawn global.
Reply
#2

Claro, tбs a criar uma textdraw global e a usar numa funзгo que sу utiliza textdraws para jogadores..
Reply
#3

lendo isto vc obtem a sua resposta:

https://sampwiki.blast.hk/wiki/OnPlayerClickPlayerTextDraw
Reply
#4

Se й global, o correto seria usar OnPlayerClickTextDraw.
Reply
#5

Quote:
Originally Posted by CyNiC
Посмотреть сообщение
Se й global, o correto seria usar OnPlayerClickTextDraw.
Obrigdao CyNiC. Sdds brazucas :3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)