Help me for 1 error loooool -
superboy201 - 03.09.2012
deleted
Re: Help me for 1 error loooool -
[HK]Ryder[AN] - 03.09.2012
care to tell which is line 202?
Re: Help me for 1 error loooool -
Black Wolf - 03.09.2012
Код:
if (strcmp("/Help", cmdtext, true, 5) == 0)
{
SendClientMessage(playerid,COLOR_PINK,"/Healprogess: gives health %1 by %1");
SendClientMessage(playerid,COLOR_PINK,"/killyourself: kill yourself");
SendClientMessage(playerid,COLOR_PINK,"/Story: Learn everything");
SendClientMessage(playerid,COLOR_PINK,"/Help: You know it allready lol");
return 1;
}
Try it
Re: Help me for 1 error loooool -
superboy201 - 03.09.2012
201 > SetObjectPos(46,1467.9734,-873.4727,56.1046);
202>}
203>
Re: Help me for 1 error loooool -
superboy201 - 03.09.2012
black wolf I got 3 errors too
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(16
: warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(170) : warning 225: unreachable code
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(174) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(181) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(185) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(187) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(193) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Re: Help me for 1 error loooool -
superboy201 - 03.09.2012
waiting for replies plz fast plzzzzzzzzzzzzzzzz.s.
Re: Help me for 1 error loooool -
superboy201 - 03.09.2012
help me help me I cant wait
Re: Help me for 1 error loooool -
rBcollo - 03.09.2012
I'm not sure but i think problem is this "%1 by %1". Try delete this and try again to comptile
Re: Help me for 1 error loooool -
superboy201 - 03.09.2012
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(169) : warning 225: unreachable code
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(192) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Help", cmdtext, true, 10) == 0)
{
if (strcmp("/Story", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_GREY,"/Story: Welcome Our Server , This is a Team DM Server");
return 1;
}
return 0;
if (strcmp("/34", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid,100);
return 1;
}
return 0;
}
if (strcmp("/killyourself", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid,0);
SendClientMessage(playerid,COLOR_BLUE,"OMG! What a bad.");
return 1;
}
return 0;
}
if (strcmp("/skyscraper", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1467.9734,-873.4727,56.1046);
SendClientMessage(playerid,COLOR_BLUE,"IT IS TIME FOR JUMPING!");
SetObjectPos(46,1467.9734,-873.4727,56.1046);
}
last !
Re: Help me for 1 error loooool -
rBcollo - 03.09.2012
Put all commands in [ pawn ] [ / pawn ]