There are textdraw editors, I personally use iPleomax's. I suggest you try one, they make getting the looks right very easy.
|
Can you make me some code, when we type cmd:rolldownwindow the window of door is go down and cmd:rollupwindow and the window up ?
|
// globals variables
new wup;
new wdown;
CMD:rolldownwindow (playerid, params[])
{
if(wdown == 1) return SendClientMessage(playerid, -1,"[SERVER] The windows of the car, are already rolldown");
SendClientMessage(playerid,-1,"[SERVER] You have been roll down your windows");
wdawn = 1;
}
CMD:rollupwindow(playerid,params[])
{
if(wup == 1) return SendClientMessage(playerid, -1,"[SERVER] The windows of the car, are already rollup");
SendClientMessage(playerid,-1,"[SERVER] You have been roll up your windows");
wup = 1;
}
pawn Код:
|
C:\DOCUME~1\Garena\Desktop\Untitled.pwn(92) : warning 221: label name "CMD" shadows tag name C:\DOCUME~1\Garena\Desktop\Untitled.pwn(92) : warning 203: symbol is never used: "CMD" C:\DOCUME~1\Garena\Desktop\Untitled.pwn(241) : warning 203: symbol is never used: "rolldownwindow" C:\DOCUME~1\Garena\Desktop\Untitled.pwn(241) : warning 203: symbol is never used: "rollupwindow" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings.
Код:
C:\DOCUME~1\Garena\Desktop\Untitled.pwn(92) : warning 221: label name "CMD" shadows tag name C:\DOCUME~1\Garena\Desktop\Untitled.pwn(92) : warning 203: symbol is never used: "CMD" C:\DOCUME~1\Garena\Desktop\Untitled.pwn(241) : warning 203: symbol is never used: "rolldownwindow" C:\DOCUME~1\Garena\Desktop\Untitled.pwn(241) : warning 203: symbol is never used: "rollupwindow" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings. |
C:\Documents and Settings\Garena\Desktop\Untitled.pwn(94) : error 029: invalid expression, assumed zero C:\Documents and Settings\Garena\Desktop\Untitled.pwn(94) : error 017: undefined symbol "cmd_rolldownwindow" C:\Documents and Settings\Garena\Desktop\Untitled.pwn(94) : warning 215: expression has no effect C:\Documents and Settings\Garena\Desktop\Untitled.pwn(94) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Garena\Desktop\Untitled.pwn(94) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |