26.03.2011, 17:24
Bueno, Mi problema es el siguiente. (Soy totalmente NUEVO, NOOB, NOVATO ETC. Por favor sepan disculparme)
Estoy creando un GM con un amigo y somos bastante n00bs ... La cosa era q queriamos crear un comando de /ayuda pero al compilar me sale esto
GM-SINCITY.pwn(110) : error 035: argument type mismatch (argument 2)
GM-SINCITY.pwn(111) : error 035: argument type mismatch (argument 2)
GM-SINCITY.pwn(112) : error 035: argument type mismatch (argument 2)
GM-SINCITY.pwn(113) : error 035: argument type mismatch (argument 2)
GM-SINCITY.pwn(117) : warning 217: loose indentation
Estoy creando un GM con un amigo y somos bastante n00bs ... La cosa era q queriamos crear un comando de /ayuda pero al compilar me sale esto
GM-SINCITY.pwn(110) : error 035: argument type mismatch (argument 2)
GM-SINCITY.pwn(111) : error 035: argument type mismatch (argument 2)
GM-SINCITY.pwn(112) : error 035: argument type mismatch (argument 2)
GM-SINCITY.pwn(113) : error 035: argument type mismatch (argument 2)
GM-SINCITY.pwn(117) : warning 217: loose indentation
pawn Код:
if(strcmp("/ayuda", cmdtext, true, 10) == 0)
{
SendClientMessage (playerid, "*AYUDA*"; (110)
SendClientMessage (playerid, "__________"; (111)
SendClientMessage (playerid, "Para saber las reglas del servidor /reglas"; (112)
SendClientMessage (playerid, "Para saber los comandos del servido /comandos"; (113)
return 1;
}
return 0; (117)
}