03.04.2011, 17:41
I have 3 warrnings :
C:\Users\Jarek\Desktop\Lukasza Files\World Of Drift v1.0\gamemodes\World-Of-Drift.pwn(2147) : warning 202: number of arguments does not match definition
C:\Users\Jarek\Desktop\Lukasza Files\World Of Drift v1.0\gamemodes\World-Of-Drift.pwn(2153) : warning 202: number of arguments does not match definition
C:\Users\Jarek\Desktop\Lukasza Files\World Of Drift v1.0\gamemodes\World-Of-Drift.pwn(2160) : warning 217: loose indentation
1 warning line : SetPlayerPos(playerid, 1486.4894,2769.9453,16.2628,272.9416);
2 warning line : SetPlayerPos(playerid, -348.2215,1528.1942,75.7176,261.4001);
3 warning line : return 1;
All Script
if(dialogid == 258)
{
if(!response)
{
ShowPlayerDialog(playerid, 258, DIALOG_STYLE_LIST,"Pasirinkite Spawn'a", "Las Venturas\nBig Ear", "Pasirinkti", "Uюdaryti");
}
else if(response)
{
if(listitem == 0)
{
SetPlayerPos(playerid, 1486.4894,2769.9453,16.2628,272.9416);
SendClientMessage(playerid,0xE60000FF, "Jus pasirinkote Las Venturas spawn'a. Gero zaidimo!");
}
if(listitem == 1)
{
SetPlayerPos(playerid, -348.2215,1528.1942,75.7176,261.4001);
SendClientMessage(playerid,0xE60000FF, "Jus pasirinkote Big Ear spawn'a. Gero zaidimo!");
}
}
return 1;
}
return 1;
}
C:\Users\Jarek\Desktop\Lukasza Files\World Of Drift v1.0\gamemodes\World-Of-Drift.pwn(2147) : warning 202: number of arguments does not match definition
C:\Users\Jarek\Desktop\Lukasza Files\World Of Drift v1.0\gamemodes\World-Of-Drift.pwn(2153) : warning 202: number of arguments does not match definition
C:\Users\Jarek\Desktop\Lukasza Files\World Of Drift v1.0\gamemodes\World-Of-Drift.pwn(2160) : warning 217: loose indentation
1 warning line : SetPlayerPos(playerid, 1486.4894,2769.9453,16.2628,272.9416);
2 warning line : SetPlayerPos(playerid, -348.2215,1528.1942,75.7176,261.4001);
3 warning line : return 1;
All Script
if(dialogid == 258)
{
if(!response)
{
ShowPlayerDialog(playerid, 258, DIALOG_STYLE_LIST,"Pasirinkite Spawn'a", "Las Venturas\nBig Ear", "Pasirinkti", "Uюdaryti");
}
else if(response)
{
if(listitem == 0)
{
SetPlayerPos(playerid, 1486.4894,2769.9453,16.2628,272.9416);
SendClientMessage(playerid,0xE60000FF, "Jus pasirinkote Las Venturas spawn'a. Gero zaidimo!");
}
if(listitem == 1)
{
SetPlayerPos(playerid, -348.2215,1528.1942,75.7176,261.4001);
SendClientMessage(playerid,0xE60000FF, "Jus pasirinkote Big Ear spawn'a. Gero zaidimo!");
}
}
return 1;
}
return 1;
}