22.05.2011, 15:17
I'm not sure if I'm doing this right, a pointer or two would be nice. Here's the part that's erroring.
I have it setup on a timer to update, it shows when OnPlayerStateChange is called. Any additional tips would be nice.
(If you post to ask me to use your filterscript, NO!)
Код:
(1240) : error 035: argument type mismatch (argument 2) (1237) : warning 204: symbol is assigned a value that is never used: "pSpeed" forward UpdateSpeedo(); public UpdateSpeedo() { for(new i; i < MAX_PLAYERS; i ++) { new PlayerState = GetPlayerState(i); new pSpeed = GetPlayerSpeed(i); // LINE 1237 if(PlayerState == PLAYER_STATE_DRIVER) { TextDrawSetString(PlayerSpeedo[i], pSpeed); // LINE 1240 } } return 1; }
(If you post to ask me to use your filterscript, NO!)