Ayuda! algunos Errores!
#3

Quote:
Originally Posted by ErickPuga234
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

if(!strcmp("/area51", cmdtext, true))
{
new name[45];
new stringa[156];
SetPlayerPos(playerid, 26.4734,1362.1244,9.1719);
SendClientMessage(playerid, 0xFFFFFFF, "Bienvenido al Area 69  ");
GetPlayerName(playerid, name, 45);
format(stringa, sizeof(stringa), "<-------[%s ] se aah transportado a /area51 -------->", name);
SendClientMessageToAll(0xFAFFFFFF,stringa);
return 1;
}

if(!strcmp("/playa", cmdtext, true))
{
new name[45];
new stringa[156];
SetPlayerPos(playerid, -2237.6675,2353.6357,4.9804);
SendClientMessage(playerid, 0xFFFFFFF, " Bienvenido a la Playa ");
GetPlayerName(playerid, name, 45);
format(stringa, sizeof(stringa), "<-------[%s ] se aah transportado a /playa -------->", name);
SendClientMessageToAll(0xFAFFFFFF,stringa);
return 1;
}

if(!strcmp("/lv1", cmdtext, true))
{
new name[45];
new stringa[156];
SetPlayerPos(playerid, 778.4303,1871.3485,4.9062);
SendClientMessage(playerid, 0xFFFFFFF, " You are teleported to las venturas ");
GetPlayerName(playerid, name, 45);
format(stringa, sizeof(stringa), "<-------[%s ] se aah transportado a /lv1 -------->", name);
SendClientMessageToAll(0xFAFFFFFF,stringa);
return 1;
}
if(!strcmp("/aa", cmdtext, true))
{// esto te faltaba.
new name[45];
new stringa[156];
SetPlayerPos(playerid,404.32720947266,2452.1518554688,16.990623474121);
SendClientMessage(playerid, 0xFFFFFF, " Bienvenido al Aeropuerto Abandonado ");
GetPlayerName(playerid, name, 45);
format(stringa, sizeof(stringa), "<-------[%s ] se aah transportado a /aa -------->", name);
SendClientMessageToAll(0xFAFFFFFF,stringa);
return 1;
}
if(!strcmp("/spring", cmdtext, true))
{
new name[45];
new stringa[156];
SetPlayerPos(playerid, 300.8380,1141.2859,9.1375);
SendClientMessage(playerid, 0xFFFFFFF, " You are teleported to spring ");
GetPlayerName(playerid, name, 45);
format(stringa, sizeof(stringa), "<-------[%s ] se aah transportado a /spring -------->", name);
SendClientMessageToAll(0xFAFFFFFF,stringa);
return 1;
}
    return 0;
}
Gracias, si me faltaba eso, sin embaro si se lo agrego siguen los 5 errores, Vi que cambiaste algunos valores, asi que habia eliminaod todo y puse lo que me dijiste, y me aparecen 26 Errores.....
Reply


Messages In This Thread
Ayuda! algunos Errores! - by Venten - 06.11.2014, 21:45
Respuesta: Ayuda! algunos Errores! - by ErickPuga234 - 06.11.2014, 22:24
Respuesta: Ayuda! algunos Errores! - by Venten - 06.11.2014, 22:52
Respuesta: Ayuda! algunos Errores! - by !R1Ch@rD! - 06.11.2014, 23:06
Respuesta: Ayuda! algunos Errores! - by jotajeda - 06.11.2014, 23:20
Respuesta: Ayuda! algunos Errores! - by Venten - 07.11.2014, 14:43
Respuesta: Ayuda! algunos Errores! - by jotajeda - 07.11.2014, 15:02
Respuesta: Ayuda! algunos Errores! - by aoEXE - 07.11.2014, 22:24
Respuesta: Ayuda! algunos Errores! - by Venten - 08.11.2014, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)