[Pomoc]Izlazak iz kuce /exith

Započeo Arnel_Bp, Septembar 18, 2013, 14:34:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: moja
Detaljan opis problema: pa zelim da napravim ako moze neko da mi napravi komandu da iz svake kuce dje god da kucam /exith ili /izadji kako vec da izadje vani ako moze neko da mi pokaze, i ako david ovo vidi da mi obijasni ako moze gde ide ono jer da znam nebi postovo ovde, nadam se da cete mi pomoci
Dio skripte(neobavezno): //

evo ti komanda:

if(strcmp(cmd, "/enter", true) == 0)
{
for(new i; i < MAX_KUCA; i++)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, HI[i][hIzlazX], HI[i][hIzlazY], HI[i][hIzlazZ]) && GetPlayerVirtualWorld(playerid) == HI[i][hVW] && !IsPlayerInAnyVehicle(playerid))
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
JBC_SetPlayerPos(playerid, HI[UsaoUKucu[playerid]][hUlazX], HI[UsaoUKucu[playerid]][hUlazY], HI[UsaoUKucu[playerid]][hUlazZ]);
UsaoUKucu[playerid] = -1;
}
}
return 1;
}


sada je samo malo moras urediti...

My Bike KTM 450 SXF 2008

C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(364) : error 017: undefined symbol "cmd"
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : error 017: undefined symbol "HI"
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : warning 215: expression has no effect
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : error 001: expected token: ";", but found "]"
C:\Users\ADownloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : error 029: invalid expression, assumed zero
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.


Sta da radim sa ovim oces li mi pomoci?
Poslednja Izmena: Septembar 18, 2013, 18:37:45 POSLE PODNE od Arnel_Bp

Citat: Arnel_Bp poslato Septembar 18, 2013, 18:37:17 POSLE PODNE
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(364) : error 017: undefined symbol "cmd"
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : error 017: undefined symbol "HI"
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : warning 215: expression has no effect
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : error 001: expected token: ";", but found "]"
C:\Users\ADownloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : error 029: invalid expression, assumed zero
C:\Users\A\Downloads\Desktop\srw1\gamemodes\MLRP1.pwn(368) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.


Sta da radim sa ovim oces li mi pomoci?

pa promjeni to HI kako kod tebe ide za HouseInfo

nadji mi enum HouseInfo i posalji mi citav ovdje pa cu ti ja napraviti sve...
Poslednja Izmena: Septembar 18, 2013, 19:04:33 POSLE PODNE od |BE|Vuzimir

My Bike KTM 450 SXF 2008