Započeo [Euro Samp]Shadow
•5. Mar. 2014.• Zaključano[pomoc]erori
678
pregleda
3
postova
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
304
Postovi:
118
Teme:
Pridružio se:Mar. 2012
5. Mar. 2014.
Skripta koju koristim:nl
Detaljan opis problema:nmg rijesit ove erore
dio
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Detaljan opis problema:nmg rijesit ove erore
C:\Users\Dominik\Desktop\samp\gamemodes\EGRP.pwn(24996 -- 24997) : warning 215: expression has no effect
C:\Users\Dominik\Desktop\samp\gamemodes\EGRP.pwn(24997) : error 001: expected token: ";", but found "new"dio
public OnPlayerRequestSpawn(playerid)
{
if(hIgracUlogovan == 0)
{
SCM(playerid, GRAD2, "Ne mozete se spawnati dok se ne ulogujete!");
return 0;
}
if(!IsPlayerNPC(playerid))
}
new npcname;
GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
if(!strcmp(npcname, "vlak", true)) //Checking if the NPC's name is MyFirstNPC
{
PutPlayerInVehicle(playerid, VozVlak, 0); //Putting the NPC into the vehicle we created for it.
}
return 1;
}Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
53
Postovi:
7
Teme:
Pridružio se:Dec. 2013
5. Mar. 2014.
public OnPlayerRequestSpawn(playerid)
{
if(hIgracUlogovan == 0)
{
SCM(playerid, GRAD2, "Ne mozete se spawnati dok se ne ulogujete!");
return 0;
}
if(!IsPlayerNPC(playerid))
{
new npcname;
GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
if(!strcmp(npcname, "vlak", true)) //Checking if the NPC's name is MyFirstNPC
{
PutPlayerInVehicle(playerid, VozVlak, 0); //Putting the NPC into the vehicle we created for it.
}
}
return 1;
}
{
if(hIgracUlogovan == 0)
{
SCM(playerid, GRAD2, "Ne mozete se spawnati dok se ne ulogujete!");
return 0;
}
if(!IsPlayerNPC(playerid))
{
new npcname;
GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
if(!strcmp(npcname, "vlak", true)) //Checking if the NPC's name is MyFirstNPC
{
PutPlayerInVehicle(playerid, VozVlak, 0); //Putting the NPC into the vehicle we created for it.
}
}
return 1;
}
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
5. Mar. 2014.
public OnPlayerRequestSpawn(playerid)
{
if(hIgracUlogovan == 0)
{
SCM(playerid, GRAD2, "Ne mozete se spawnati dok se ne ulogujete!");
return 0;
}
if(!IsPlayerNPC(playerid))
{
new npcname;
GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
if(!strcmp(npcname, "vlak", true)) //Checking if the NPC's name is MyFirstNPC
{
PutPlayerInVehicle(playerid, VozVlak, 0); //Putting the NPC into the vehicle we created for it.
}
}
return 1;
}Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava