[size=10]public OnPlayerStateChange(playerid, newstate, oldstate)[/size]
{
if(newstate == PLAYER_STATE_DRIVER)
{
TextDrawShowForPlayer(playerid,Textdraw0[playerid]);
TextDrawShowForPlayer(playerid,Textdraw1[playerid]);
TextDrawShowForPlayer(playerid,Textdraw2[playerid]);
TextDrawShowForPlayer(playerid,Textdraw3[playerid]);
TextDrawShowForPlayer(playerid,Textdraw4[playerid]);
TextDrawShowForPlayer(playerid,Textdraw5[playerid]);
TextDrawShowForPlayer(playerid,Textdraw6[playerid]);
TextDrawShowForPlayer(playerid,Textdraw7[playerid]);
TextDrawShowForPlayer(playerid,Textdraw8[playerid]);
TextDrawShowForPlayer(playerid,Textdraw9[playerid]);
TextDrawShowForPlayer(playerid,Textdraw10[playerid]);
TextDrawShowForPlayer(playerid,Textdraw11[playerid]);
TextDrawShowForPlayer(playerid,Textdraw12[playerid]);
TextDrawShowForPlayer(playerid,Textdraw13[playerid]);
TextDrawShowForPlayer(playerid,Textdraw14[playerid]);
}
if(oldstate == PLAYER_STATE_DRIVER)
{
TextDrawHideForPlayer(playerid,Textdraw0[playerid]);
TextDrawHideForPlayer(playerid,Textdraw1[playerid]);
TextDrawHideForPlayer(playerid,Textdraw2[playerid]);
TextDrawHideForPlayer(playerid,Textdraw3[playerid]);
TextDrawHideForPlayer(playerid,Textdraw4[playerid]);
TextDrawHideForPlayer(playerid,Textdraw5[playerid]);
TextDrawHideForPlayer(playerid,Textdraw6[playerid]);
TextDrawHideForPlayer(playerid,Textdraw7[playerid]);
TextDrawHideForPlayer(playerid,Textdraw8[playerid]);
TextDrawHideForPlayer(playerid,Textdraw9[playerid]);
TextDrawHideForPlayer(playerid,Textdraw10[playerid]);
TextDrawHideForPlayer(playerid,Textdraw11[playerid]);
TextDrawHideForPlayer(playerid,Textdraw12[playerid]);
TextDrawHideForPlayer(playerid,Textdraw13[playerid]);
TextDrawHideForPlayer(playerid,Textdraw14[playerid]);
}
return 1;
}[size=10]public OnPlayerStateChange(playerid, newstate, oldstate)[/size]
{
if(newstate == PLAYER_STATE_DRIVER)
{
TextDrawShowForPlayer(playerid,Textdraw0[playerid]);
TextDrawShowForPlayer(playerid,Textdraw1[playerid]);
TextDrawShowForPlayer(playerid,Textdraw2[playerid]);
TextDrawShowForPlayer(playerid,Textdraw3[playerid]);
TextDrawShowForPlayer(playerid,Textdraw4[playerid]);
TextDrawShowForPlayer(playerid,Textdraw5[playerid]);
TextDrawShowForPlayer(playerid,Textdraw6[playerid]);
TextDrawShowForPlayer(playerid,Textdraw7[playerid]);
TextDrawShowForPlayer(playerid,Textdraw8[playerid]);
TextDrawShowForPlayer(playerid,Textdraw9[playerid]);
TextDrawShowForPlayer(playerid,Textdraw10[playerid]);
TextDrawShowForPlayer(playerid,Textdraw11[playerid]);
TextDrawShowForPlayer(playerid,Textdraw12[playerid]);
TextDrawShowForPlayer(playerid,Textdraw13[playerid]);
TextDrawShowForPlayer(playerid,Textdraw14[playerid]);
}
if(oldstate == PLAYER_STATE_DRIVER)
{
TextDrawHideForPlayer(playerid,Textdraw0[playerid]);
TextDrawHideForPlayer(playerid,Textdraw1[playerid]);
TextDrawHideForPlayer(playerid,Textdraw2[playerid]);
TextDrawHideForPlayer(playerid,Textdraw3[playerid]);
TextDrawHideForPlayer(playerid,Textdraw4[playerid]);
TextDrawHideForPlayer(playerid,Textdraw5[playerid]);
TextDrawHideForPlayer(playerid,Textdraw6[playerid]);
TextDrawHideForPlayer(playerid,Textdraw7[playerid]);
TextDrawHideForPlayer(playerid,Textdraw8[playerid]);
TextDrawHideForPlayer(playerid,Textdraw9[playerid]);
TextDrawHideForPlayer(playerid,Textdraw10[playerid]);
TextDrawHideForPlayer(playerid,Textdraw11[playerid]);
TextDrawHideForPlayer(playerid,Textdraw12[playerid]);
TextDrawHideForPlayer(playerid,Textdraw13[playerid]);
TextDrawHideForPlayer(playerid,Textdraw14[playerid]);
}
return 1;
}[size=10]public OnPlayerStateChange(playerid, newstate, oldstate)[/size]
{
if(newstate == PLAYER_STATE_DRIVER)
{
TextDrawShowForPlayer(playerid,Textdraw0[playerid]);
TextDrawShowForPlayer(playerid,Textdraw1[playerid]);
TextDrawShowForPlayer(playerid,Textdraw2[playerid]);
TextDrawShowForPlayer(playerid,Textdraw3[playerid]);
TextDrawShowForPlayer(playerid,Textdraw4[playerid]);
TextDrawShowForPlayer(playerid,Textdraw5[playerid]);
TextDrawShowForPlayer(playerid,Textdraw6[playerid]);
TextDrawShowForPlayer(playerid,Textdraw7[playerid]);
TextDrawShowForPlayer(playerid,Textdraw8[playerid]);
TextDrawShowForPlayer(playerid,Textdraw9[playerid]);
TextDrawShowForPlayer(playerid,Textdraw10[playerid]);
TextDrawShowForPlayer(playerid,Textdraw11[playerid]);
TextDrawShowForPlayer(playerid,Textdraw12[playerid]);
TextDrawShowForPlayer(playerid,Textdraw13[playerid]);
TextDrawShowForPlayer(playerid,Textdraw14[playerid]);
}
if(oldstate == PLAYER_STATE_DRIVER)
{
TextDrawHideForPlayer(playerid,Textdraw0[playerid]);
TextDrawHideForPlayer(playerid,Textdraw1[playerid]);
TextDrawHideForPlayer(playerid,Textdraw2[playerid]);
TextDrawHideForPlayer(playerid,Textdraw3[playerid]);
TextDrawHideForPlayer(playerid,Textdraw4[playerid]);
TextDrawHideForPlayer(playerid,Textdraw5[playerid]);
TextDrawHideForPlayer(playerid,Textdraw6[playerid]);
TextDrawHideForPlayer(playerid,Textdraw7[playerid]);
TextDrawHideForPlayer(playerid,Textdraw8[playerid]);
TextDrawHideForPlayer(playerid,Textdraw9[playerid]);
TextDrawHideForPlayer(playerid,Textdraw10[playerid]);
TextDrawHideForPlayer(playerid,Textdraw11[playerid]);
TextDrawHideForPlayer(playerid,Textdraw12[playerid]);
TextDrawHideForPlayer(playerid,Textdraw13[playerid]);
TextDrawHideForPlayer(playerid,Textdraw14[playerid]);
}
return 1;
}
Keiner eine Idee?