Pomoc hitno dinamicna kapija error

Započeo Remaa99, April 12, 2020, 01:15:42 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning):Treba mi pomoc oko dinamicne kapije
Dio skripte: [ pawn ]vaš odgovor[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem):



C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49356) : error 021: symbol already defined: "S@@_OnGameModeInit"
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49370) : error 021: symbol already defined: "S@@_OnPlayerKeyStateChange"
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49466) : error 021: symbol already defined: "S@@_OnDialogResponse"
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49476) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49476) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49476) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49488) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49488) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49488) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\_Losmi\Desktop\Domination RolePlay v.2.0  Update  za 3Meseca Rada Srw !\gamemodes\DM-RP.pwn(49572) : error 021: symbol already defined: "GetName"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.



49572 stock GetName( playerid ) {

(49488)                 PkInfo[ i ][ pkoX ] = fX;
(49488)                 PkInfo[ i ][ pkoX ] = fX;
(49488)                 PkInfo[ i ][ pkoX ] = fX;
(49476)   new Float:X, Float:Y, Float:Z, i = KreiraPK[ playerid ];

(49476)   new Float:X, Float:Y, Float:Z, i = KreiraPK[ playerid ];
(49476)   new Float:X, Float:Y, Float:Z, i = KreiraPK[ playerid ];
(49466) public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
(49370) public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
(49356) public OnGameModeInit() {



Više puta definišeš istu stvar i više puta praviš isti public.
Pogledaj šta imaš duplo i proveri da nisi ostavio negde zagradu otvorenu

credits: Xunder, Ino420, Muma

Citat: Pottus;3903994
SetPlayerPos("dreni1998", 666.666, 666.666, 666.666, 666.666);    ///// GO IN HELL MOTHERFUCKER

https://i.imgur.com/XHLx9oj.gif
https://i.ibb.co/ZJqQKWT/NXRX.gif