[Pomoc] Problem s port koordinatima

Započeo Adeptus, Oktobar 30, 2012, 18:12:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pa evo ovako, stavio sam koordinate spawna i komandu /gotospawn. Kad compilam izbaci mi 4 warninga.

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[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 116,1965.1177,-2177.2285,13.5469,186.4892);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 116,1965.1177,-2177.2285,13.5469,186.4892);
}
SendClientMessage(playerid, COLOR_GRAD1, "   Teleportovani ste !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 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.

Daj te redove, a mozda si uzeo koordinate krive, inace uzimaju se samo one 2.,3.,4. ako se ne varam

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


116,1965.1177,-2177.2285,13.5469,186.4892

A ove kordinate se stavljaju u skiptu  ;D

1965.1177,-2177.2285,13.4892

Hvala na brzom odgovoru.