Help me for 1 error loooool
#1

deleted
Reply
#2

care to tell which is line 202?
Reply
#3

Код:
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
Reply
#4

201 > SetObjectPos(46,1467.9734,-873.4727,56.1046);
202>}
203>
Reply
#5

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.
Reply
#6

waiting for replies plz fast plzzzzzzzzzzzzzzzz.s.
Reply
#7

help me help me I cant wait
Reply
#8

I'm not sure but i think problem is this "%1 by %1". Try delete this and try again to comptile
Reply
#9

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 !
Reply
#10

Put all commands in [ pawn ] [ / pawn ]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)