02.03.2012, 23:58
ayudenme mis tres problemas:
dos errores:
como agrego el AddStaticVehicleEx
D:\juegos\gta sa\gamemodes\sxrt.pwn(2064) : error 021: symbol already defined: "AddStaticVehicleEx"
como agrego el CreateObject
D:\juegos\gta sa\gamemodes\sxrt.pwn(2076) : error 021: symbol already defined: "CreateObject"
por que no me funcionan los comandos. aca esta mis comandos
el primer comando /weaprivate funciona correctamente pero los comandos /conteo y /flip para abajo no funcionan D':
ayudenme por favor si me ayudan se los tendre agradecido por siempre
dos errores:
como agrego el AddStaticVehicleEx
D:\juegos\gta sa\gamemodes\sxrt.pwn(2064) : error 021: symbol already defined: "AddStaticVehicleEx"
como agrego el CreateObject
D:\juegos\gta sa\gamemodes\sxrt.pwn(2076) : error 021: symbol already defined: "CreateObject"
por que no me funcionan los comandos. aca esta mis comandos
el primer comando /weaprivate funciona correctamente pero los comandos /conteo y /flip para abajo no funcionan D':
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
//inicio del comando /weaprivate que solo conoce el admin
if (strcmp("/weaprivate", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 1017.162,-1067.268,999.5938);
SetPlayerFacingAngle(playerid, 16.1934);
SetPlayerInterior(playerid, 6);
return 1;
}
return 0;
if (strcmp(cmdtext, "/conteo", true, 6) == 0)
{
if(CountDown== -1)
{
GameTextForPlayer(playerid, "~g~Iniciando...", 1000, 4);
CountDown= 6;
return SetTimer("CountTimer", 1000, 0);
}
else return SendClientMessage(playerid, COLOR_WHITE, "Conteo en progreso.");
}
return 1;
if (strcmp(cmdtext, "/flip", true)==0) {
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,"SERVER: Nesecitas un Vehiculo!");
new VehicleID, Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, X, Y, Z);
SetVehicleZAngle(VehicleID, 0);
SendClientMessage(playerid, 0xFFFFFFFF,"Como eres medio tonto y se te dio vuelta el auto te lo pusimos bien ._.");
return 1;
}
return 1;
}
