[POMOC]argument type mismatch

Započeo Obrisan korisnik
5. Jul 2012. Zaključano
393
pregleda
2
postova
Deleted User
Obrisan korisnik
5. Jul 2012.
Skripta koju koristim😮d 0
Deo skripte:
Ovako prikazuje mi ovde eror
C:\Documents and Settings\beginer\Desktop\Roleplay\Roleplay\gamemodes\rp.pwn(43) : warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1,%2)")
C:\Documents and Settings\Beginer\Desktop\Roleplay\Roleplay\gamemodes\rp.pwn(1454) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Beginer\Desktop\Roleplay\Roleplay\gamemodes\rp.pwn(3156) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

2 Errors.

evo linija 3156
	CMD:unrentaj(playerid,params[])
{
    new idcar = GetPlayerVehicleID(playerid);
if(Rentano != 299)
{
if(idcar == Rentano)
{
TogglePlayerControllable(playerid, 1);
}
  SetVehicleToRespawn(Rentano);
Rentano = 299;
SendClientMessage(playerid,RED,"Vratio si iznajmljeno vozilo!");
}
return 1;
}

linija 1454
new newcar = GetPlayerVehicleID(playerid);
if(newstate == 2)
{
if(RentVozila(newcar))
{
if (Rentano != newcar)
{
SendClientMessage(playerid,GREEN,"========== RENT VOZILO ==========");
SendClientMessage(playerid,COLOR_PURPLE,"Da rentas: /rentcar .");
SendClientMessage(playerid,COLOR_PURPLE,"Da izadjes: /exitcar .");
TogglePlayerControllable(playerid, 0);// Freeza igraca, da ne moze da pobegne
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
}
else
{
return 1;
}
  }
}
Deleted User
Obrisan korisnik
5. Jul 2012.
sredio sam -.-''

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha