Započeo Adeptus
•30. Okt. 2012.• Zaključano[Pomoc] Problem s port koordinatima
759
pregleda
3
postova
Street Runner
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
20
Postovi:
6
Teme:
Pridružio se:Okt. 2012
30. Okt. 2012.
Pa evo ovako, stavio sam koordinate spawna i komandu /gotospawn. Kad compilam izbaci mi 4 warninga.
Ne znam u cemu je problem
Ovo je komanda
A mod koji editam je Big Street's RolePlay. U igri kad upisem /gotospawn porta me na sasvim drugu lokaciju.
C:\Documents and Settings\gamemodes\LG.pwn(37952) : warning 202: number of arguments does not match definition
C:\Documents and Settings\gamemodes\LG.pwn(37952) : warning 202: number of arguments does not match definition
C:\Documents and Settings\gamemodes\LG.pwn(37957) : warning 202: number of arguments does not match definition
C:\Documents and Settings\gamemodes\LG.pwn(37957) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
Ne znam u cemu je problem
Ovo je komanda
}
if(strcmp(cmd, "/gotospawn", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 116,1965.1177,-2177.2285,13.5469,186.4892);
TelePos = 0.0;TelePos = 0.0;
}
else
{
SetPlayerPos(playerid, 116,1965.1177,-2177.2285,13.5469,186.4892);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Niste ovlasteni da koristite tu komandu !");
}
}
return 1;A mod koji editam je Big Street's RolePlay. U igri kad upisem /gotospawn porta me na sasvim drugu lokaciju.
Street Runner
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
20
Postovi:
6
Teme:
Pridružio se:Okt. 2012
30. Okt. 2012.
Eo rjesio sam..
Problem je bio to sto sam uzeo bas cijele kordinate..samo sam trebao pobrisat ovaj 116 ..
Eo za ubudce ak neko bude imao ovakav problem kordinate koje sam uzeo su bile
A ove kordinate se stavljaju u skiptu 😁
Hvala na brzom odgovoru.
Problem je bio to sto sam uzeo bas cijele kordinate..samo sam trebao pobrisat ovaj 116 ..
Eo za ubudce ak neko bude imao ovakav problem kordinate koje sam uzeo su bile
116,1965.1177,-2177.2285,13.5469,186.4892A ove kordinate se stavljaju u skiptu 😁
1965.1177,-2177.2285,13.4892Hvala na brzom odgovoru.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava