01.10.2012, 13:43
so i have this
and i hawe this 2 erros ... this are the coordonates to the place where i want to go
So what is wrong??
Please help
Код:
//---------------------------------[LCS]----------------------------------------- if(strcmp(cmd, "/gotolcs", true) == 0) // { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 1) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, -1038.3295,-1030.3242,129.2119,104.6418); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; LinkVehicleToInterior(tmpcar, 0); SetPlayerVirtualWorld(playerid, 0); } else { SetPlayerPos(playerid, -1035.0485,-1030.0416,129.3460,91.7961); SetPlayerVirtualWorld(playerid, 0); } SendClientMessage(playerid, COLOR_GRAD1, "You have Been Teleported"); SendClientMessage(playerid, COLOR_NICERED, "Welcome to the Lcs Area."); SetPlayerInterior(playerid,0); DisablePlayerCheckpoint(playerid); } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command!"); return 1; } } return 1; } if(strcmp(cmd, "/openlcs", true) == 0) // By CuervO_NegrO { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 4 && PlayerInfo[playerid][pDM] < 1) { SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command."); return 1; } SendClientMessageToAll(TEAM_GROVE_COLOR, "PlayZone Server LCS is now OPEN!"); SendClientMessageToAll(TEAM_GROVE_COLOR, "We have only 30 slots so hurry up"); } return 1; } if(strcmp(cmd,"/lcscount",true) == 0 || strcmp(cmd,"/lcscd",true) == 0) // By CuervO_NegrO { if(PlayerInfo[playerid][pDM] == 1) { for(new i = 0; i < MAX_PLAYERS; i++) if(PlayerInfo[i][pDTK] == 1 || IsPlayerInRangeOfPoint(i,250,-1398.3799,994.8915,1024.0889)) { SetTimer("DD1", 1000, false); SetTimer("DD2", 2000, false); SetTimer("DD3", 3000, false); SetTimer("DD4", 4000, false); SetTimer("DD5", 5000, false); SetTimer("DD6", 6000, false); } } return 1; }
Код:
C:\Users\bos\Desktop\PlayZone.pwn(15827) : warning 202: number of arguments does not match definition C:\Users\bos\Desktop\PlayZone.pwn(15834) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
So what is wrong??
Please help