Jump to content
  • 0

pomoc prosím helpněte mi s errory...


crash007

Dotaz

prosím helpněte mi s errory...

C:\Documents and Settings\Petr\Plocha\lvrlf.pwn(124) : error 010: invalid function or declaration
C:\Documents and Settings\Petr\Plocha\lvrlf.pwn(126) : error 010: invalid function or declaration
C:\Documents and Settings\Petr\Plocha\lvrlf.pwn(502) : error 017: undefined symbol "dcmd_warp"
Pawn compiler 3.2.3664     Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.

řádky

123-127
dcmd_warp
{
SetPlayerPos(playerid,2399.1770,1918.0950,76.3745);
return 1;
}
502
dcmd(warp,7,cmdtext);

díky crash

Link to comment
Share on other sites

9 odpovědí na tuto otázku

Recommended Posts

  • 0

mas definici dcmd?

 

-- stř 14. dub 2010 18:15:32 --

 

nahoru do modu skus pokud nemas

 

#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

Link to comment
Share on other sites

  • 0

jj mám

 

#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

 

TO mám

Link to comment
Share on other sites

  • 0

OnPlayerCommandText..

dcmd(warp, 4, cmdtext);

 

Volně mezi publici...

dcmd_warp(playerid, params[])
{
   #pragma unused params
   SetPlayerPos(playerid,2399.1770,1918.0950,76.3745);
   return 1;
}

Link to comment
Share on other sites

  • 0
ser na DCMD udělej to takhle:§

        if (strcmp("/warp", cmdtext, true, 10) == 0)
       {
               SetPlayerPos(playerid,2399.1770,1918.0950,76.3745);
               return 1;
       }

 

burysek, co to meleš ? co ho to učíš ? nech ho se naučit dcmd ať se to naučí. Dcmd méně zatěžuje server oproti cmd.

Link to comment
Share on other sites

  • 0
ser na DCMD udělej to takhle:§

        if (strcmp("/warp", cmdtext, true, 10) == 0)
       {
               SetPlayerPos(playerid,2399.1770,1918.0950,76.3745);
               return 1;
       }

 

burysek, co to meleš ? co ho to učíš ? nech ho se naučit dcmd ať se to naučí. Dcmd méně zatěžuje server oproti cmd.

přesně on má START pipni... :d

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...