I feel stupid posting this, I really do, it's gotta be some thing small X_X here we go again:
whats wrong with this script:
NPC Code:
if (actionbuy){
if(strequals(#p(0),float)){
addweapon Event Prizes/Float;
setstring clientr.eventcoin,#v(strtofloat(#s(clientr.eventco in))-10);
}
}
//#CLIENTSIDE
//sorry 'bout this next part, it's easier to script
if(playerchats && strequals(#c,buy float) && strtofloat(#s(clientr.eventcoin))>10){
triggeraction playerx,playery,buy,float;
}