[POMOC] Spawn, jao nece nista....xDD

Započeo Skyline, Novembar 05, 2010, 12:23:34 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

evo ovako, ja napravim ovako:

if(newstate == PLAYER_STATE_SPAWNED)
{
new Float: lwx, Float:lwy, Float:lwz;
GetPlayerPos(playerid, lwx, lwy, lwz);
if((lwz > 530.0 && PlayerInfo[playerid][pInt] == 0) || PlayerToPoint(1000.0, playerid, 833.1313,-2332.7239,13.0542,357.3442))
{
SetPlayerSpawn(playerid);
}


I nece errore mi izbaci ove:

C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2942) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2949) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2956) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2963) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2970) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2977) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(7956) : error 036: empty statement
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(19461) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(19466) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


onda odem ovdje:

SetPlayerToTeamColor(playerid);
if(PlayerInfo[playerid][pOrigin] == 1)//HR
{
   SetPlayerPos(playerid,833.1313,-2332.7239,13.0542,357.3442);
SetPlayerFacingAngle(playerid, 262.9963);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 2)//SRB
{
   SetPlayerPos(playerid,833.1313,-2332.7239,13.0542,357.3442);
SetPlayerFacingAngle(playerid, 262.9963);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 3)//Kosovo
{
   SetPlayerPos(playerid,833.1313,-2332.7239,13.0542,357.3442);
SetPlayerFacingAngle(playerid, 262.9963);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 4)//CG
{
   SetPlayerPos(playerid,833.1313,-2332.7239,13.0542,357.3442);
SetPlayerFacingAngle(playerid, 262.9963);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 5)//Slovenija
{
   SetPlayerPos(playerid,833.1313,-2332.7239,13.0542,357.3442);
SetPlayerFacingAngle(playerid, 262.9963);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 6)//BiH
{
   SetPlayerPos(playerid,833.1313,-2332.7239,13.0542,357.3442);
SetPlayerFacingAngle(playerid, 262.9963);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerInterior(playerid,15);
PlayerInfo[playerid][pInt] = 15;
}
return 1;
}
}
return 1;
}

i dobim ove errore: C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2942) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2949) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2956) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2963) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2970) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(2977) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(7956) : error 036: empty statement
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(19461) : warning 202: number of arguments does not match definition
C:\DOCUME~1\TCONE_~1\Desktop\lal\lal\GAMEMO~1\lsrp.pwn(19466) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


Zelio bih da mi ovi kordinati budu spawn: AddPlayerClass(270,833.1313,-2332.7239,13.0542,357.3442,0,0,0,0,0,0);

ili ako mi moze netko napraviti kako treba....
Poslednja Izmena: Novembar 05, 2010, 12:26:28 POSLE PODNE od Skyline


CroStreets Rol3Play 
&
CroHezegovina Rol3Play 4 life and in my ♥ !!!


[FS]