Some warnings, not understand - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Some warnings, not understand (
/showthread.php?tid=405520)
Some warnings, not understand -
ancezas - 06.01.2013
pawn Код:
new const Float:PlayerPos[][3] = {
{ 1241.0000000,1918.0000000,6.4000001 },
{ 1242.1999512,1918.5999756,6.4000001 },
{ 1243.3000488,1919.1999512,6.4000001 },
{ 1244.5000000,1919.6999512,6.4000001 }
};
pawn Код:
SetPlayerPos(playerid, PlayerPos[playerid][1]);
i'm tryng to do like this, if playerid is 0 then he spawns at
Quote:
1241.0000000,1918.0000000,6.4000001
|
if playerid is 1 then he spawns at
Quote:
1242.1999512,1918.5999756,6.4000001
|
but i have some warnings:
Код:
C:\Users\Arnoldas\Desktop\Mini-Mission\gamemodes\scooter.pwn(397) : warning 202: number of arguments does not match definition
C:\Users\Arnoldas\Desktop\Mini-Mission\gamemodes\scooter.pwn(397) : warning 202: number of arguments does not match definition
Re: Some warnings, not understand -
aslan890 - 06.01.2013
Try to update your server to 0.3e and inludes + Plugins and re-complie.
Re: Some warnings, not understand -
mastermax7777 - 06.01.2013
Код:
SetPlayerPos(playerid, PlayerPos[playerid][0], PlayerPos[playerid][1], PlayerPos[playerid][2]);
Re: Some warnings, not understand -
ancezas - 06.01.2013
Quote:
Originally Posted by mastermax7777
Код:
SetPlayerPos(playerid, PlayerPos[playerid][0], PlayerPos[playerid][1], PlayerPos[playerid][2]);
|
thx +R3P