[pomoc] Problem za garaze (error)

Započeo El Toni, Februar 03, 2013, 18:16:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GF
Detaljan opis problema: stavao sam kvartove ali ocu da to moze otvarat samo odredenog igraca ... pa izvao mi neke errore ? pomoc
Dio skripte:
if(strcmp(cmd,"/g1o",true)==0)
{
new Playername[24];
    GetPlayerName(clickedplayerid,name,MAX_PLAYER_NAME);
if(strcmp(Playername,"Jasson_Walker",true))
    {
    SendClientMessage(playerid, COLOR_RED, "Nemate kluc od ova garaza.");
}
else
{                   
MoveObject(g1, 100, -164.69999694824, 2.5000000476837, 8.000);
SendClientMessage(playerid, COLOR_GREEN, "Garazata se otvara.");
}
return 1;
}
if(strcmp(cmd,"/g1c",true)==0)
{
new Playername[24];
    GetPlayerName(clickedplayerid,name,MAX_PLAYER_NAME);
if(strcmp(Playername,"Jasson_Walker",true))
    {
    SendClientMessage(playerid, COLOR_RED, "Nemate kluc od ova garaza.");
}
else
{
MoveObject(g1, 100, -164.69999694824, 3.2000000476837, 8.000);
    SendClientMessage(playerid, COLOR_GREEN, "Garazata se zatvora.");
}
return 1;
}
///////////////////////////
if(strcmp(cmd,"/g2o",true)==0)
{
new Playername[24];
    GetPlayerName(clickedplayerid,name,MAX_PLAYER_NAME);
if(strcmp(Playername,"Jasson_Walker",true))
    {
    SendClientMessage(playerid, COLOR_RED, "Nemate kluc od ova garaza.");
}
else
{
MoveObject(g2, 87.699996948242, -161, 2.5000000476837, 8.000);
SendClientMessage(playerid, COLOR_GREEN, "Garazata se otvara.");
}
return 1;
}
if(strcmp(cmd,"/g2c",true)==0)
{
new Playername[24];
    GetPlayerName(clickedplayerid,name,MAX_PLAYER_NAME);
if(strcmp(Playername,"Jasson_Walker",true))
    {
    SendClientMessage(playerid, COLOR_RED, "Nemate kluc od ova garaza.");
}
else
{
MoveObject(g2, 87.699996948242, -161, 3.2000000476837, 8.000);
    SendClientMessage(playerid, COLOR_GREEN, "Garazata se zatvora.");
}
return 1;
}


D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49271) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49274) : error 021: symbol already defined: "GetPlayerName"
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49275) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49279) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49284) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49286) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49288) : error 021: symbol already defined: "Playername"
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49290) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49294) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49299) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49302) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49304) : error 021: symbol already defined: "Playername"
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49306) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49310) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49315) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49317) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49319) : error 021: symbol already defined: "Playername"
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49321) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49325) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(49330) : error 010: invalid function or declaration
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(50900) : warning 203: symbol is never used: "Playername"
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(10765) : warning 204: symbol is assigned a value that is never used: "g1"
D:\SAMP Modovi\Evolution RP\dv rp\gamemodes\evolution.pwn(10766) : warning 204: symbol is assigned a value that is never used: "g2"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


20 Errors.

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Poslednja Izmena: Februar 03, 2013, 18:16:57 POSLE PODNE od Gigov.so