paveldaa 0 Odesláno: 28. Listopad, 2011 Share Odesláno: 28. Listopad, 2011 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 More sharing options...
0 niCe 131 Odesláno: 30. Listopad, 2011 Share Odesláno: 30. Listopad, 2011 TextDrawSetString(Textdraw, string); Chyba je v tomhle, ta promenna Textdraw musi byt definovana jako new Text:Textdraw. Link to comment Share on other sites More sharing options...
Dotaz
paveldaa 0
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
2.error ,řádek 492-497
Tohle je bez chyby !!
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 accountSign in
Already have an account? Sign in here.
Sign In Now