05.04.2010, 14:34
how do you make 1 Command that opens gates 7
Originally Posted by MaykoX[PSYCHO
]
http://forum.sa-mp.com/index.php?topic=158928.0 NEXT TIME USE SEARCH ! |
{
if (strcmp("/cmds", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xAA3333AA,"Welcome: /rules :: Admins: /Rcon Login [password]");
return 1;
}
if (strcmp("/rules", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xAA3333AA,"No Cheating and No Team Kill else ban! The aliens have escaped trying to kill them before they kill your!!");
return 1;
}
if (! strcmp ("/sluiten", cmdtext)))
{
if (IsPlayerInRangeOfPoint (playerid, 7.0, 2353,693359375, -650,77709960938, +127,85127258301))
{
MoveObject (movingdoor1, 2354,3403320313, -650,77142333984, 127,85127258301, 1);
SendClientMessage (playerid, 0xEF994300, "De poort is gesloten.");
}
return 1;
}
if (! strcmp ("/open", cmdtext))
{
if (IsPlayerInRangeOfPoint (playerid, 7.0, 2353,693359375, -650,77709960938, +127.85127258301))
{
MoveObject (movingdoor1 , 2353,693359375, -650,77709960938, 127,85127258301, 1);
SendClientMessage (playerid, 0xEF994300, "De poort heeft geopend.");
}
return 0;
}
Originally Posted by ikarus[PSYCHO
]
pawn Код:
|
Originally Posted by justinkomnuga
Quote:
eror: C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(49) : warning 202: number of arguments does not match definition C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(49) : warning 202: number of arguments does not match definition C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(49) : warning 202: number of arguments does not match definition C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(164) : warning 217: loose indentation C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(170) : warning 217: loose indentation C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(170) : error 029: invalid expression, assumed zero C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(171) : warning 217: loose indentation C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(172) : warning 202: number of arguments does not match definition C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(172) : error 029: invalid expression, assumed zero C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(172) : warning 215: expression has no effect C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(172) : warning 215: expression has no effect C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(172) : error 001: expected token: ";", but found ")" C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(172) : error 029: invalid expression, assumed zero C:\DOCUME~1\Londen\BUREAU~1\NIEUWE~1\new.pwn(172) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |