Jump to content
  • 0

pomoc [Help] Tachometr 1 error a 1 varning ,nvm si rady :-(


paveldaa

Dotaz

Dělám tachometr a hazí mě to tenhle error :-(

C:\Users\moje\Desktop\samp03\pawno\include\apache.inc(41) : warning 219: local variable "s" shadows a variable at a preceding level

C:\Users\moje\Desktop\samp03\pawno\prdel.pwn(494) : error 035: argument type mismatch (argument 1)

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

1 Error.

 

 

 

1. varování ,řádek 34-45

main()
{
print("\n----------------------------------");
print(" Země Rváčů LVD ");
print("----------------------------------\n");
}
enum SPS
{
   Float:X_r,
   Float:Y_r,
   Float:Z_r,
};

 

2.error ,řádek 492-497

public OnPlayerConnect(playerid)
{
   TextDrawSetString(Textdraw, string);
   SetPlayerMapIcon(playerid, 1, -1519.3204,2610.3164,55.8359, 52, 0, MAPICON_LOCAL);
   SetPlayerMapIcon(playerid, 2, -243.3448,2710.1506,62.6875, 52, 0, MAPICON_LOCAL);
   SetPlayerMapIcon(playerid, 3, 2193.4268,2002.1923,12.2894, 52, 0, MAPICON_LOCAL);

 

 

Tohle je bez chyby !!

SetPlayerMapIcon(playerid, 3, 2193.4268,2002.1923,12.2894, 52, 0, MAPICON_LOCAL);

Link to comment
Share on other sites

1 odpověd na tuto otázku

Recommended Posts

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...