SolvedError

Posts 1–6 of 6 · Page 1 of 1
Error
Como arrumar esse error
Estava codando uma coisa nova aqui e deu vários erros, consegui remover quase todos so falto esses 2, alguem pode me ajudar?



o error e nessas 2 linhas.
Code:
		cPlayerInfo* pPlayer = GetPlayerByIndex( ulThis,i,0);
		cPlayerInfo* pLocal = GetLocalPlayer(ulThis)

Aqui são os 2 errors
Code:
error C2440: 'initializing' : cannot convert from 'cClientInfo *' to 'cPlayerInfo *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Code:
error C2440: 'initializing' : cannot convert from 'cClientInfo *' to 'cPlayerInfo *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

agradeço desde já.
Quote Originally Posted by King Of Death View Post
Como arrumar esse error
Estava codando uma coisa nova aqui e deu vários erros, consegui remover quase todos so falto esses 2, alguem pode me ajudar?



o error e nessas 2 linhas.
Code:
		cPlayerInfo* pPlayer = GetPlayerByIndex( ulThis,i,0);
		cPlayerInfo* pLocal = GetLocalPlayer(ulThis)

Aqui são os 2 errors
Code:
error C2440: 'initializing' : cannot convert from 'cClientInfo *' to 'cPlayerInfo *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Code:
error C2440: 'initializing' : cannot convert from 'cClientInfo *' to 'cPlayerInfo *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

agradeço desde já.
cara, nao tem como converter uma classe para a outra, por isso esta dando erro
consegui aqui vlw por ajudar. era isso mesmo tava vacilando na merda qui rsrs vlw reputado.
@BACKD00R²
Hora de mostrar seus poderes de fechar tópicos e alterar títulos
isso seria para Telekill ou OPK?
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?